1// -*- C++ -*- 2//===----------------------------------------------------------------------===// 3// 4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5// See https://llvm.org/LICENSE.txt for license information. 6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7// 8//===----------------------------------------------------------------------===// 9 10module; 11#include <memory_resource> 12 13export module std:memory_resource; 14export namespace std::pmr { 15 // [mem.res.class], class memory_resource 16 using std::pmr::memory_resource; 17 18 using std::pmr::operator==; 19 20 // [mem.poly.allocator.class], class template polymorphic_allocator 21 using std::pmr::polymorphic_allocator; 22 23 // [mem.res.global], global memory resources 24 using std::pmr::get_default_resource; 25 using std::pmr::new_delete_resource; 26 using std::pmr::null_memory_resource; 27 using std::pmr::set_default_resource; 28 29 // [mem.res.pool], pool resource classes 30 using std::pmr::monotonic_buffer_resource; 31 using std::pmr::pool_options; 32 using std::pmr::synchronized_pool_resource; 33 using std::pmr::unsynchronized_pool_resource; 34} // namespace std::pmr 35