1// (C) Copyright John Maddock 2020 2 3// Use, modification and distribution are subject to the 4// Boost Software License, Version 1.0. (See accompanying file 5// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 7// See http://www.boost.org/libs/config for more information. 8 9// MACRO: BOOST_NO_CXX17_HDR_MEMORY_RESOURCE 10// TITLE: C++17 header <memory_resource> unavailable 11// DESCRIPTION: The standard library does not supply C++17 header <memory_resource> 12 13#include <memory_resource> 14 15namespace boost_no_cxx17_hdr_memory_resource { 16 17int test() 18{ 19 using std::pmr::polymorphic_allocator; 20 using std::pmr::memory_resource; 21 using std::pmr::pool_options; 22 using std::pmr::synchronized_pool_resource; 23 using std::pmr::unsynchronized_pool_resource; 24 using std::pmr::monotonic_buffer_resource; 25 using std::pmr::new_delete_resource; 26 using std::pmr::null_memory_resource; 27 using std::pmr::get_default_resource; 28 using std::pmr::set_default_resource; 29 return 0; 30} 31 32} 33