Chris@16: // Copyright (C) 2003, Fernando Luis Cacciola Carballal. Chris@101: // Copyright (C) 2014 Andrzej Krzemienski. Chris@16: // Chris@16: // Use, modification, and distribution is subject to the Boost Software Chris@16: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: // Chris@16: // See http://www.boost.org/libs/optional for documentation. Chris@16: // Chris@16: // You are welcome to contact the author at: Chris@16: // fernando_cacciola@hotmail.com Chris@16: // Chris@16: #ifndef BOOST_NONE_T_17SEP2003_HPP Chris@16: #define BOOST_NONE_T_17SEP2003_HPP Chris@16: Chris@16: namespace boost { Chris@16: Chris@101: #ifdef BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE Chris@16: namespace detail { struct none_helper{}; } Chris@16: typedef int detail::none_helper::*none_t ; Chris@101: #else Chris@101: class none_t {}; Chris@101: #endif Chris@16: Chris@16: } // namespace boost Chris@16: Chris@16: #endif Chris@16: