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