Re:C++20, How Hard Could It Be
by synergy20 on Sunday September 25, 2022 @12:56PM
(#32973293)
same here, but I'm embracing modern c++ these days, not for all low level coding yet though.
[ Parent
| on HN ]
Yep, big thing for me is smart pointers and RAII. Everything else is secondary.
I have worked on template-heavy codebases that would really benefit from concepts, though.
Smart pointers and RAII do _so much_! I really like zero-cost abstractions, like a nested scope with a RAII object (which will get optimized out) to implement a BEFORE{} and AFTER{}.
That plus structured bindings return types. :)