Merge pull request #431 from boostorg/pr/boost-nullptr

Add BOOST_NULLPTR helper macro
This commit is contained in:
jzmaddock
2022-06-05 12:50:15 +01:00
committed by GitHub
3 changed files with 16 additions and 0 deletions
+6
View File
@@ -1069,6 +1069,12 @@ namespace std{ using ::type_info; }
#define BOOST_STATIC_CONSTEXPR static BOOST_CONSTEXPR_OR_CONST
#if !defined(BOOST_NO_CXX11_NULLPTR)
# define BOOST_NULLPTR nullptr
#else
# define BOOST_NULLPTR 0
#endif
//
// Set BOOST_HAS_STATIC_ASSERT when BOOST_NO_CXX11_STATIC_ASSERT is not defined
//