| 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_DEQUE |
| 11 |
#define _LIBCPP_EXPERIMENTAL_DEQUE |
| 12 |
|
| 13 |
/* |
| 14 |
experimental/deque 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 deque = std::deque<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 <deque> |
| 34 |
#include <experimental/__config> |
| 35 |
#include <experimental/memory_resource> |
| 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 |
|
| 45 |
template <class _ValueT> |
| 46 |
using deque = _VSTD::deque<_ValueT, polymorphic_allocator<_ValueT>>; |
| 47 |
|
| 48 |
#endif // _LIBCPP_CXX03_LANG |
| 49 |
|
| 50 |
_LIBCPP_END_NAMESPACE_LFTS_PMR |
| 51 |
|
| 52 |
#endif /* _LIBCPP_EXPERIMENTAL_DEQUE */ |