@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 ... and you also can't define any functions that way that are outside the translation unit in which the struct is declared.
-
-
@DyadGame Etc., etc. There are lots of reasons. But it's not something I can much about one way or the other. -
@DyadGame I do occasionally use the latter style when I want to use "dot syntax", so I don't _exclusively_ use the former. - Show replies
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.