
This adds the cppm files of D144994. These files by themselves will do nothing. The goal is to reduce the size of D144994 and making it easier to review the real changes of the patch. Implements parts of - P2465R3 Standard Library Modules std and std.compat Reviewed By: ldionne, ChuanqiXu, aaronmondal, #libc Differential Revision: https://reviews.llvm.org/D151030
39 lines
1.0 KiB
C++
39 lines
1.0 KiB
C++
// -*- 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
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
module;
|
||
#if __has_include(<flat_map>)
|
||
# error "include this header unconditionally and uncomment the exported symbols"
|
||
# include <flat_map>
|
||
#endif
|
||
|
||
export module std:flat_map;
|
||
export namespace std {
|
||
#if 0
|
||
// [flat.map], class template flat_map
|
||
using std::flat_map;
|
||
|
||
using std::sorted_unique;
|
||
using std::sorted_unique_t;
|
||
|
||
using std::uses_allocator;
|
||
|
||
// [flat.map.erasure], erasure for flat_map
|
||
using std::erase_if;
|
||
|
||
// [flat.multimap], class template flat_multimap
|
||
using std::flat_multimap;
|
||
|
||
using std::sorted_equivalent;
|
||
using std::sorted_equivalent_t;
|
||
|
||
// [flat.multimap.erasure], erasure for flat_multimap
|
||
#endif
|
||
} // namespace std
|