123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef BOOST_NONE_T_17SEP2003_HPP
- #define BOOST_NONE_T_17SEP2003_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 none_t(init_tag){}
- };
- #endif
- }
- #endif
|