1// -*- C++ -*- 2//===--------------------------- list ------------------------------------===// 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_LIST 11#define _LIBCPP_EXPERIMENTAL_LIST 12/* 13 experimental/list synopsis 14 15// C++1z 16namespace std { 17namespace experimental { 18inline namespace fundamentals_v1 { 19namespace pmr { 20 21 template <class T> 22 using list = std::list<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 <list> 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 41template <class _ValueT> 42using list = _VSTD::list<_ValueT, polymorphic_allocator<_ValueT>>; 43 44_LIBCPP_END_NAMESPACE_LFTS_PMR 45 46#endif /* _LIBCPP_EXPERIMENTAL_LIST */ 47