2 //===----------------------------------------------------------------------===//
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
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_EXPERIMENTAL_VECTOR
11 #define _LIBCPP_EXPERIMENTAL_VECTOR
13 experimental/vector synopsis
17 namespace experimental {
18 inline namespace fundamentals_v1 {
22 using vector = std::vector<T, polymorphic_allocator<T>>;
25 } // namespace fundamentals_v1
26 } // namespace experimental
31 #include <experimental/__config>
32 #include <experimental/memory_resource>
35 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
36 #pragma GCC system_header
39 _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR
41 template <class _ValueT>
42 using vector = _VSTD::vector<_ValueT, polymorphic_allocator<_ValueT>>;
44 _LIBCPP_END_NAMESPACE_LFTS_PMR
46 #endif /* _LIBCPP_EXPERIMENTAL_VECTOR */