comparison DEPENDENCIES/generic/include/boost/none_t.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
1 // Copyright (C) 2003, Fernando Luis Cacciola Carballal. 1 // Copyright (C) 2003, Fernando Luis Cacciola Carballal.
2 // Copyright (C) 2014 Andrzej Krzemienski.
2 // 3 //
3 // Use, modification, and distribution is subject to the Boost Software 4 // Use, modification, and distribution is subject to the Boost Software
4 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt) 6 // http://www.boost.org/LICENSE_1_0.txt)
6 // 7 //
12 #ifndef BOOST_NONE_T_17SEP2003_HPP 13 #ifndef BOOST_NONE_T_17SEP2003_HPP
13 #define BOOST_NONE_T_17SEP2003_HPP 14 #define BOOST_NONE_T_17SEP2003_HPP
14 15
15 namespace boost { 16 namespace boost {
16 17
18 #ifdef BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE
17 namespace detail { struct none_helper{}; } 19 namespace detail { struct none_helper{}; }
18
19 typedef int detail::none_helper::*none_t ; 20 typedef int detail::none_helper::*none_t ;
21 #else
22 class none_t {};
23 #endif
20 24
21 } // namespace boost 25 } // namespace boost
22 26
23 #endif 27 #endif
24 28