deque 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #ifndef _LIBCPP_EXPERIMENTAL_DEQUE
  11. #define _LIBCPP_EXPERIMENTAL_DEQUE
  12. /*
  13. experimental/deque synopsis
  14. // C++1z
  15. namespace std {
  16. namespace experimental {
  17. inline namespace fundamentals_v1 {
  18. namespace pmr {
  19. template <class T>
  20. using deque = std::deque<T,polymorphic_allocator<T>>;
  21. } // namespace pmr
  22. } // namespace fundamentals_v1
  23. } // namespace experimental
  24. } // namespace std
  25. */
  26. #include <experimental/__config>
  27. #include <deque>
  28. #include <experimental/memory_resource>
  29. #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
  30. #pragma GCC system_header
  31. #endif
  32. _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR
  33. template <class _ValueT>
  34. using deque = _VSTD::deque<_ValueT, polymorphic_allocator<_ValueT>>;
  35. _LIBCPP_END_NAMESPACE_LFTS_PMR
  36. #endif /* _LIBCPP_EXPERIMENTAL_DEQUE */