1
0
forked from boostorg/core

Update documentation for default_allocator

This commit is contained in:
Glen Fernandes
2019-04-27 19:11:45 -04:00
parent 151f2cf645
commit 62fff4d829
2 changed files with 16 additions and 6 deletions

View File

@@ -12,9 +12,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <new>
#include <climits>
#if defined(BOOST_NO_CXX11_ALLOCATOR)
#define BOOST_CORE_NO_CXX11_ALLOCATOR
#elif defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 60000
#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 60000
#define BOOST_CORE_NO_CXX11_ALLOCATOR
#endif
@@ -122,7 +120,7 @@ struct default_allocator {
}
#endif
#if defined(BOOST_CORE_NO_CXX11_ALLOCATOR)
#if defined(BOOST_NO_CXX11_ALLOCATOR) || defined(BOOST_CORE_NO_CXX11_ALLOCATOR)
template<class U, class V>
void construct(U* p, const V& v) {
::new(p) U(v);