Re:Memory management in C programs (2014)
by comex on Tuesday July 19, 2016 @12:14AM
(#12119592)
std::optional is now confirmed for C++17, which can make the API a bit nicer. Using factory functions as pseudo-constructors also lets you name them, which is often nicer than having to rely on argument types to disambiguate constructors with different purposes.
[ Parent
| on HN ]
There are no comments on this comment yet.