1 #ifndef BOOST_SMART_PTR_DETAIL_SP_NULLPTR_T_HPP_INCLUDED
2 #define BOOST_SMART_PTR_DETAIL_SP_NULLPTR_T_HPP_INCLUDED
4 // MS compatible compilers support #pragma once
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
10 // detail/sp_nullptr_t.hpp
12 // Copyright 2013 Peter Dimov
14 // Distributed under the Boost Software License, Version 1.0.
15 // See accompanying file LICENSE_1_0.txt or copy at
16 // http://www.boost.org/LICENSE_1_0.txt
18 #include <boost/config.hpp>
21 #if !defined( BOOST_NO_CXX11_NULLPTR )
29 #if !defined( BOOST_NO_CXX11_DECLTYPE ) && ( ( defined( __clang__ ) && !defined( _LIBCPP_VERSION ) ) || defined( __INTEL_COMPILER ) )
31 typedef decltype(nullptr) sp_nullptr_t;
35 typedef std::nullptr_t sp_nullptr_t;
43 #endif // !defined( BOOST_NO_CXX11_NULLPTR )
45 #endif // #ifndef BOOST_SMART_PTR_DETAIL_SP_NULLPTR_T_HPP_INCLUDED