Post AcSgzR7cO3fOdO9EOW by [email protected] | |
More posts by [email protected] | |
Post #AcQzpYYPPRvDbMlH2u by [email protected] | |
0 likes, 0 repeats | |
did you know that the name is optional after `class` in C++? | |
Post #AcR0Jvh1wYfE3OHFPU by [email protected] | |
0 likes, 0 repeats | |
@whitequark Anonymous structs and enums exist too. The latter are actually occa… | |
Post #AcR0JvlHgk4CGaGe2a by [email protected] | |
0 likes, 0 repeats | |
@azonenberg yeah, I use all of these extensively where appropriate. in function… | |
Post #AcR0MJiZafpx928ZMW by [email protected] | |
0 likes, 0 repeats | |
it's not `fun' C++ code unless it breaks your syntax highlighter using … | |
Post #AcRk6dNFL0xVMgcbUu by [email protected] | |
0 likes, 0 repeats | |
@whitequark It makes nonsense for this to be true! | |
Post #AcRk97Xs8GxjWEmGRM by [email protected] | |
0 likes, 1 repeats | |
@promovicz @whitequark the weirdest thing about this is that if record_observer… | |
Post #AcRkO7plLFrYl2IgRU by [email protected] | |
0 likes, 0 repeats | |
@whitequark Yes. `class { public:` rather than `struct` hurts though. | |
Post #AcRkO7u15RGWyEI54a by [email protected] | |
0 likes, 0 repeats | |
@malwareminigun it's `struct` in my actual code but I wanted to make it mor… | |
Post #AcRkZelDGI423yfe7M by [email protected] | |
0 likes, 0 repeats | |
@whitequark It actually somewhat restores faith in humanity to know this had to… | |
Post #AcRkZepoz9kaIGpKIi by [email protected] | |
0 likes, 0 repeats | |
@malwareminigun I'm not human though! | |
Post #AcRl91cAHarv4yIsym by [email protected] | |
0 likes, 0 repeats | |
@whitequark Hmmm.... would you identify as "people"? As in, should it… | |
Post #AcRl91g435zJH4803c by [email protected] | |
0 likes, 0 repeats | |
@malwareminigun I'm just some entity! | |
Post #AcSgzR7cO3fOdO9EOW by [email protected] | |
0 likes, 0 repeats | |
@whitequark I know it's like this in Go as well and I think is from plain C… | |
Post #AcT73B3OfR7GlacMjI by [email protected] | |
0 likes, 0 repeats | |
@stiv yep, that's what I'm using it for! |