]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libc++/include/experimental/forward_list
Add libbearssl
[FreeBSD/FreeBSD.git] / contrib / libc++ / include / experimental / forward_list
1 // -*- C++ -*-
2 //===--------------------------- forward_list -----------------------------===//
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_FORWARD_LIST
12 #define _LIBCPP_EXPERIMENTAL_FORWARD_LIST
13 /*
14     experimental/forward_list 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 forward_list = std::forward_list<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 <forward_list>
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 forward_list = _VSTD::forward_list<_ValueT, polymorphic_allocator<_ValueT>>;
44
45 _LIBCPP_END_NAMESPACE_LFTS_PMR
46
47 #endif /* _LIBCPP_EXPERIMENTAL_FORWARD_LIST */