Re:Ask HN: What are the best technologies you've worked with...
by megrimlock on Friday December 31, 2010 @01:51PM
(#2056076)
You might be interested in boost::optional, even if only as a point of comparison:
http://boost.org/doc/libs/1_38_0/libs/optional/doc/html/inde...
To me it's neat because I've found many unanticipated uses for it e.g. wrapping the values in option-specifying structures where a default is cleanly indicated with a default-inited (or subsequently Clear()ed) ZQ, rather than having a separate 'use default' boolean, or 'set default' function.
http://zoolib.svn.sourceforge.net/viewvc/zoolib/trunk/zoolib...