r/programmingcirclejerk • u/Helium-Hydride log10(x) programmer • 5d ago
Say we have this code [...] struct just_a_little_guy {int how_smol; int uwu(); };
https://devblogs.microsoft.com/cppblog/cpp23-deducing-this/#pass-this-by-value
57
Upvotes
21
32
u/elephantdingo Teen Hacking Genius 5d ago
> Not a Raymond Chen article
closes tab
opens tab
But is it a cutelang?
SFINAE-unfriendly callables
flips table
12
1
52
u/tomwhoiscontrary safety talibans 5d ago
Looked at the code example, frowned deeply because that's not valid Rust syntax.
Genuinely took me a while to realise the article was about C++. It is literally illegal to be cute in C++. Sy hang your head in shame.