Skip to main content

Timeline for Simple matrix class

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Jun 20, 2013 at 19:24 comment added Corbin Ah, seems I need to do some reading on inline. I've been procrastinating it for years now :).
Jun 20, 2013 at 19:23 history edited Corbin CC BY-SA 3.0
random bold
Jun 20, 2013 at 18:05 comment added Lstor +1. Good points! Also, like @Yuushi points out, inline is just a hint to the compiler, which is free to do what it wants. Defining a function in the class definition is the same as declaring it inline.
Jun 20, 2013 at 10:48 comment added Yuushi inline is basically a compiler suggestion. The compiler is free to do its own cost/benefit analysis and completely ignore it. For something as simple as a getter/setter, however, on any kind of reasonable optimization level, it's almost 100% guaranteed to be inlined automatically anyway.
Jun 20, 2013 at 8:41 history answered Corbin CC BY-SA 3.0