]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libc++/include/experimental/deque
Merge libc++ trunk r366426, resolve conflicts, and add FREEBSD-Xlist.
[FreeBSD/FreeBSD.git] / contrib / libc++ / include / experimental / deque
1 // -*- C++ -*-
2 //===--------------------------- deque ------------------------------------===//
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
10 #ifndef _LIBCPP_EXPERIMENTAL_DEQUE
11 #define _LIBCPP_EXPERIMENTAL_DEQUE
12 /*
13     experimental/deque synopsis
14
15 // C++1z
16 namespace std {
17 namespace experimental {
18 inline namespace fundamentals_v1 {
19 namespace pmr {
20
21   template <class T>
22   using deque = std::deque<T,polymorphic_allocator<T>>;
23
24 } // namespace pmr
25 } // namespace fundamentals_v1
26 } // namespace experimental
27 } // namespace std
28
29  */
30
31 #include <experimental/__config>
32 #include <deque>
33 #include <experimental/memory_resource>
34
35 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
36 #pragma GCC system_header
37 #endif
38
39 _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR
40
41 template <class _ValueT>
42 using deque = _VSTD::deque<_ValueT, polymorphic_allocator<_ValueT>>;
43
44 _LIBCPP_END_NAMESPACE_LFTS_PMR
45
46 #endif /* _LIBCPP_EXPERIMENTAL_DEQUE */