Simplify alloc_construct using allocator_access

This commit is contained in:
Glen Fernandes
2020-05-24 00:03:14 -04:00
parent 9f2dbba2fc
commit 27715ed01a
2 changed files with 14 additions and 90 deletions

View File

@@ -6,7 +6,7 @@ Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/config.hpp>
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
#if defined(BOOST_CORE_ALLOCATOR_DETECTION)
#include <boost/core/alloc_construct.hpp>
#include <boost/core/lightweight_test.hpp>