1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef BOOST_NONE_T_17SEP2003_HPP
- #define BOOST_NONE_T_17SEP2003_HPP
- #include <boost/config.hpp>
- namespace boost {
- #ifdef BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE
- namespace detail { struct none_helper{}; }
- typedef int detail::none_helper::*none_t ;
- #elif defined BOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE
- class none_t {};
- #else
- struct none_t
- {
- struct init_tag{};
- explicit BOOST_CONSTEXPR none_t(init_tag){}
- };
- #endif
- }
- #endif
|