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

Add BOOST_NULLPTR helper macro
This commit is contained in:
jzmaddock authored and GitHub committed 2022-06-05 12:50:15 +01:00
commit 485ecb42fa
3 files changed
+16

No files matched your search

+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
//