Remove uses of BOOST_NO_CXX11_ALLOCATOR

This commit is contained in:
Peter Dimov
2024-09-25 03:13:22 +03:00
parent 0aa32dc692
commit dccecc2500
9 changed files with 5 additions and 134 deletions

View File

@@ -11,13 +11,11 @@
// http://www.boost.org/LICENSE_1_0.txt
#include <boost/core/lightweight_test.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/core/lightweight_test.hpp>
#include <memory>
#include <cstddef>
#if !defined( BOOST_NO_CXX11_ALLOCATOR )
template< class T > class cxx11_allocator
{
public:
@@ -105,12 +103,3 @@ int main()
return boost::report_errors();
}
#else // !defined( BOOST_NO_CXX11_ALLOCATOR )
int main()
{
return 0;
}
#endif