xref: /freebsd/contrib/llvm-project/libcxx/modules/std/memory_resource.inc (revision cb14a3fe5122c879eae1fb480ed7ce82a699ddb6)
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
10export namespace std::pmr {
11  // [mem.res.class], class memory_resource
12  using std::pmr::memory_resource;
13
14  using std::pmr::operator==;
15
16  // [mem.poly.allocator.class], class template polymorphic_allocator
17  using std::pmr::polymorphic_allocator;
18
19  // [mem.res.global], global memory resources
20  using std::pmr::get_default_resource;
21  using std::pmr::new_delete_resource;
22  using std::pmr::null_memory_resource;
23  using std::pmr::set_default_resource;
24
25  // [mem.res.pool], pool resource classes
26  using std::pmr::monotonic_buffer_resource;
27  using std::pmr::pool_options;
28  using std::pmr::synchronized_pool_resource;
29  using std::pmr::unsynchronized_pool_resource;
30} // namespace std::pmr
31