@cmuratori I'm genuinely curious why you think struct S { }; void f(S *s..) { } is better than struct S { void f(); }... because I don't.
@DyadGame I do occasionally use the latter style when I want to use "dot syntax", so I don't _exclusively_ use the former.
-
-
@cmuratori Yeah I use both as well, but 90% of the time I stick the function inside the class when I can. With the unity build system... -
@cmuratori you could also noinline and do everything inside the struct definition most of the time - Show replies
New conversation -
-
-
@cmuratori well mscv, gcc and clang all support it, so that's good enough for me.. is "inline" even standard/consistent? __forceinline? etc -
@cmuratori I macro my inline anyway so having a noinline macro is no big deal
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.