diff options
Diffstat (limited to 'boost/tti/detail/dnullptr.hpp')
-rw-r--r-- | boost/tti/detail/dnullptr.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/boost/tti/detail/dnullptr.hpp b/boost/tti/detail/dnullptr.hpp new file mode 100644 index 0000000000..7454df7e45 --- /dev/null +++ b/boost/tti/detail/dnullptr.hpp @@ -0,0 +1,22 @@ + +// (C) Copyright Edward Diener 2012 +// Use, modification and distribution are subject to the Boost Software License, +// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt). + +#if !defined(BOOST_TTI_DETAIL_NULLPTR_HPP) +#define BOOST_TTI_DETAIL_NULLPTR_HPP + +#include <boost/config.hpp> + +#if defined(BOOST_NO_CXX11_NULLPTR) + +#define BOOST_TTI_DETAIL_NULLPTR 0 + +#else // !BOOST_NO_CXX11_NULLPTR + +#define BOOST_TTI_DETAIL_NULLPTR nullptr + +#endif // BOOST_NO_CXX11_NULLPTR + +#endif // BOOST_TTI_DETAIL_NULLPTR_HPP |