Post #1969237
2026-04-07 12:44 UTC
Replies (4)
-
@swab148@lemmy.dbzer0.com 2026-04-07 20:09
Big guy with a club: 
-
@addie@feddit.uk 2026-04-07 14:37
Josuttis's books are normally pretty good, lots of examples and a clear explanation of **why** you might want to use something, but oof that looks akin to a kick in the essentials. Even if you've no other reason to update to C++20, the fact that `if constexpr` gets rid of half the things you'd previously need to use SFINAE for, and concepts gets rid of the other half, makes it well worthwhile. Amazing how much it stops hurting when you stop doing ridiculous things.
-
@SlurpingPus@lemmy.world 2026-04-07 19:21
I see someone finally embraced the fact that C++ templates are Turing-complete and you don't really need much of the rest.
-
@SubArcticTundra@lemmy.ml 2026-04-07 23:52
That book looks as old as the language itself