Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Reference

Header <boost/none.hpp>
Header <boost/optional/bad_optional_access.hpp>
Header <boost/optional/optional_io.hpp>
Header <boost/optional/optional_fwd.hpp>
Header <boost/optional/optional.hpp>
Header <boost/optional.hpp>

namespace boost {

class none_t {};

extern const none_t none; // see below

} // namespace boost

Variable none has external linkage, however it is not required to link with any library to obtain its definition. Only by including this header file, the definition becomes available, by means of using template instantiation.


PrevUpHomeNext