Added missing cstddef for std::nullptr_t

This commit is contained in:
Ion Gaztañaga
2014-08-23 00:32:30 +02:00
parent e1da7c5ca1
commit a9bc0876cd

View File

@@ -18,6 +18,10 @@
#include <boost/static_assert.hpp> #include <boost/static_assert.hpp>
#include <boost/assert.hpp> #include <boost/assert.hpp>
#if !defined(BOOST_NO_CXX11_NULLPTR)
#include <cstddef> //For std::nullptr_t
#endif
//!\file //!\file
//! Describes the smart pointer unique_ptr, a drop-in replacement for std::unique_ptr, //! Describes the smart pointer unique_ptr, a drop-in replacement for std::unique_ptr,
//! usable also from C++03 compilers. //! usable also from C++03 compilers.