]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libc++/include/experimental/vector
MFV r331706:
[FreeBSD/FreeBSD.git] / contrib / libc++ / include / experimental / vector
1 // -*- C++ -*-
2 //===--------------------------- vector ------------------------------------===//
3 //
4 //                     The LLVM Compiler Infrastructure
5 //
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10
11 #ifndef _LIBCPP_EXPERIMENTAL_VECTOR
12 #define _LIBCPP_EXPERIMENTAL_VECTOR
13 /*
14     experimental/vector synopsis
15
16 // C++1z
17 namespace std {
18 namespace experimental {
19 inline namespace fundamentals_v1 {
20 namespace pmr {
21
22   template <class T>
23   using vector = std::vector<T, polymorphic_allocator<T>>;
24
25 } // namespace pmr
26 } // namespace fundamentals_v1
27 } // namespace experimental
28 } // namespace std
29
30  */
31
32 #include <experimental/__config>
33 #include <vector>
34 #include <experimental/memory_resource>
35
36 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
37 #pragma GCC system_header
38 #endif
39
40 _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR
41
42 template <class _ValueT>
43 using vector = _VSTD::vector<_ValueT, polymorphic_allocator<_ValueT>>;
44
45 _LIBCPP_END_NAMESPACE_LFTS_PMR
46
47 #endif /* _LIBCPP_EXPERIMENTAL_VECTOR */