Re: [Boost-users] Getting Environment Variables

19 Jan
2006
19 Jan
'06
7:13 p.m.
Sebastian, boost::nothing sounds interesting, but I've never run across it before. Where is it defined? Merrill

19 Jan
19 Jan
8:55 p.m.
New subject: Getting Environment Variables
Merrill Cornish wrote:
Sebastian,
boost::nothing sounds interesting, but I've never run across it before. Where is it defined?
It's a wrong memory on my part. The Boost.Optional library defines boost::none, which is a global instance of boost::none_t. Any optional<T> can be instantiated from a none_t; the resulting object will be empty. http://www.boost.org/libs/optional/doc/optional.html -> Look for the constructor optional<T>::optional( none_t ) Sebastian
7091
Age (days ago)
7091
Last active (days ago)
1 comments
2 participants
participants (2)
-
Merrill Cornish
-
Sebastian Redl