Add BOOST_NULLPTR helper macro

This commit is contained in:
Peter Dimov
2022-05-23 02:29:23 +03:00
parent 26a8d38031
commit 663198ae92
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
//