blob: bd10492bfefc002fb06ee7b784924edb5c36d345 [file] [log] [blame]
Eric Fiselierdba23b42016-05-07 03:09:55 +00001// -*- C++ -*-
2//===--------------------------- vector ------------------------------------===//
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_VECTOR
12#define _LIBCPP_EXPERIMENTAL_VECTOR
13/*
14 experimental/vector synopsis
15
16// C++1z
17namespace std {
18namespace experimental {
19inline namespace fundamentals_v1 {
20namespace pmr {
21
22 template <class T>
23 using vector = std::vector<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 <vector>
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
42template <class _ValueT>
43using vector = _VSTD::vector<_ValueT, polymorphic_allocator<_ValueT>>;
44
45_LIBCPP_END_NAMESPACE_LFTS_PMR
46
47#endif /* _LIBCPP_EXPERIMENTAL_VECTOR */