dnullptr.hpp 563 B

12345678910111213141516171819202122
  1. // (C) Copyright Edward Diener 2012
  2. // Use, modification and distribution are subject to the Boost Software License,
  3. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt).
  5. #if !defined(BOOST_TTI_DETAIL_NULLPTR_HPP)
  6. #define BOOST_TTI_DETAIL_NULLPTR_HPP
  7. #include <boost/config.hpp>
  8. #if defined(BOOST_NO_CXX11_NULLPTR)
  9. #define BOOST_TTI_DETAIL_NULLPTR 0
  10. #else // !BOOST_NO_CXX11_NULLPTR
  11. #define BOOST_TTI_DETAIL_NULLPTR nullptr
  12. #endif // BOOST_NO_CXX11_NULLPTR
  13. #endif // BOOST_TTI_DETAIL_NULLPTR_HPP