Hui 2f1416bbcd
[libc++] implement std::flat_set (#125241)
Co-authored-by: Louis Dionne <ldionne.2@gmail.com>
2025-03-23 14:45:21 +00:00

32 lines
874 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
export namespace std {
#if _LIBCPP_STD_VER >= 23
// [flat.set], class template flat_­set
using std::flat_set;
using std::sorted_unique;
using std::sorted_unique_t;
using std::uses_allocator;
// [flat.set.erasure], erasure for flat_­set
using std::erase_if;
#endif // _LIBCPP_STD_VER >= 23
#if 0
// [flat.multiset], class template flat_­multiset
using std::flat_multiset;
using std::sorted_equivalent;
using std::sorted_equivalent_t;
#endif
} // namespace std