
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
36 lines
950 B
C++
36 lines
950 B
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;
|
||
#include <unordered_map>
|
||
|
||
export module std:unordered_map;
|
||
export namespace std {
|
||
// [unord.map], class template unordered_map
|
||
using std::unordered_map;
|
||
|
||
// [unord.multimap], class template unordered_multimap
|
||
using std::unordered_multimap;
|
||
|
||
using std::operator==;
|
||
#if 1 // P1614
|
||
using std::operator!=;
|
||
#endif
|
||
|
||
using std::swap;
|
||
|
||
// [unord.map.erasure], erasure for unordered_map
|
||
using std::erase_if;
|
||
|
||
namespace pmr {
|
||
using std::pmr::unordered_map;
|
||
using std::pmr::unordered_multimap;
|
||
} // namespace pmr
|
||
} // namespace std
|