Eric Fiselier | dba23b4 | 2016-05-07 03:09:55 +0000 | [diff] [blame] | 1 | // -*- C++ -*- |
| 2 | //===--------------------------- deque ------------------------------------===// |
| 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_DEQUE |
| 12 | #define _LIBCPP_EXPERIMENTAL_DEQUE |
| 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 <experimental/__config> |
| 33 | #include <deque> |
| 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 deque = _VSTD::deque<_ValueT, polymorphic_allocator<_ValueT>>; |
| 44 | |
| 45 | _LIBCPP_END_NAMESPACE_LFTS_PMR |
| 46 | |
| 47 | #endif /* _LIBCPP_EXPERIMENTAL_DEQUE */ |