nullptr.hpp 494 B

123456789101112131415161718
  1. // Copyright Cromwell D. Enage 2019.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_PARAMETER_AUX_PREPROCESSOR_NULLPTR_HPP
  6. #define BOOST_PARAMETER_AUX_PREPROCESSOR_NULLPTR_HPP
  7. #include <boost/config.hpp>
  8. #if defined(BOOST_NO_CXX11_NULLPTR)
  9. #define BOOST_PARAMETER_AUX_PP_NULLPTR 0
  10. #else
  11. #define BOOST_PARAMETER_AUX_PP_NULLPTR nullptr
  12. #endif
  13. #endif // include guard