1// -*- C++ -*- 2//===----------------------------------------------------------------------===// 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_FORWARD_LIST 11#define _LIBCPP_EXPERIMENTAL_FORWARD_LIST 12 13/* 14 experimental/forward_list synopsis 15 16// C++1z 17namespace std { 18namespace experimental { 19inline namespace fundamentals_v1 { 20namespace 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 <__assert> // all public C++ headers provide the assertion handler 33#include <experimental/__config> 34#include <experimental/memory_resource> 35#include <forward_list> 36 37#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 38# pragma GCC system_header 39#endif 40 41_LIBCPP_BEGIN_NAMESPACE_LFTS_PMR 42 43#ifndef _LIBCPP_CXX03_LANG 44 45template <class _ValueT> 46using forward_list = _VSTD::forward_list<_ValueT, polymorphic_allocator<_ValueT>>; 47 48#endif // _LIBCPP_CXX03_LANG 49 50_LIBCPP_END_NAMESPACE_LFTS_PMR 51 52#endif /* _LIBCPP_EXPERIMENTAL_FORWARD_LIST */ 53