]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/libcxx/include/experimental/vector
MFC r355940:
[FreeBSD/FreeBSD.git] / contrib / llvm-project / libcxx / include / experimental / vector
1 // -*- C++ -*-
2 //===--------------------------- vector ------------------------------------===//
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_VECTOR
11 #define _LIBCPP_EXPERIMENTAL_VECTOR
12 /*
13     experimental/vector 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 vector = std::vector<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 <vector>
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 vector = _VSTD::vector<_ValueT, polymorphic_allocator<_ValueT>>;
43
44 _LIBCPP_END_NAMESPACE_LFTS_PMR
45
46 #endif /* _LIBCPP_EXPERIMENTAL_VECTOR */