xref: /freebsd/contrib/llvm-project/libcxx/modules/std/vector.inc (revision 5f757f3ff9144b609b3c433dfd370cc6bdc191ad)
1*5f757f3fSDimitry Andric// -*- C++ -*-
2*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===//
3*5f757f3fSDimitry Andric//
4*5f757f3fSDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5*5f757f3fSDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
6*5f757f3fSDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7*5f757f3fSDimitry Andric//
8*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===//
9*5f757f3fSDimitry Andric
10*5f757f3fSDimitry Andricexport namespace std {
11*5f757f3fSDimitry Andric  // [vector], class template vector
12*5f757f3fSDimitry Andric  using std::vector;
13*5f757f3fSDimitry Andric
14*5f757f3fSDimitry Andric  using std::operator==;
15*5f757f3fSDimitry Andric  using std::operator<=>;
16*5f757f3fSDimitry Andric
17*5f757f3fSDimitry Andric  using std::swap;
18*5f757f3fSDimitry Andric
19*5f757f3fSDimitry Andric  // [vector.erasure], erasure
20*5f757f3fSDimitry Andric  using std::erase;
21*5f757f3fSDimitry Andric  using std::erase_if;
22*5f757f3fSDimitry Andric
23*5f757f3fSDimitry Andric  namespace pmr {
24*5f757f3fSDimitry Andric    using std::pmr::vector;
25*5f757f3fSDimitry Andric  }
26*5f757f3fSDimitry Andric
27*5f757f3fSDimitry Andric  // hash support
28*5f757f3fSDimitry Andric  using std::hash;
29*5f757f3fSDimitry Andric
30*5f757f3fSDimitry Andric#if _LIBCPP_STD_VER >= 23
31*5f757f3fSDimitry Andric  // [vector.bool.fmt], formatter specialization for vector<bool>
32*5f757f3fSDimitry Andric  using std::formatter;
33*5f757f3fSDimitry Andric#endif
34*5f757f3fSDimitry Andric} // namespace std
35