Re:Lambda expression comparison between C++11, C++14 and C++17
by jwilk on Sunday May 15, 2016 @07:50AM
(#11700564)
Re unique_ptr as a local variable: in C++98 you can use auto_ptr.
[ Parent
| on HN ]
Re:Lambda expression comparison between C++11, C++14 and C++17
by MereInterest on Sunday May 15, 2016 @09:47AM
(#11700872)
True, I didn't mention it, because it has its own issues. The move-on-copy semantics of auto_ptr makes it incompatible with std containers, and makes for some rather unexpected behavior.