News for hackers. Stuff that matters.
Re:Care is needed to use C++ std:optional with non-trivial o... by secondcoming on Friday January 13, 2023 @08:38AM (#34367448)
There is a push in C++ towards Value Semantics. The compilers don't seem good enough for it yet.

It's a problem with overuse of `auto` too, copies everywhere and I'd wager a lot of them are unintended copies.

But hey, your code compiled so it must be right!

There are no comments on this comment yet.