diff options
Diffstat (limited to 'libcxx/modules/std/list.cppm')
| -rw-r--r-- | libcxx/modules/std/list.cppm | 30 | 
1 files changed, 30 insertions, 0 deletions
diff --git a/libcxx/modules/std/list.cppm b/libcxx/modules/std/list.cppm new file mode 100644 index 000000000000..eff83c95e49f --- /dev/null +++ b/libcxx/modules/std/list.cppm @@ -0,0 +1,30 @@ +// -*- 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 <list> + +export module std:list; +export namespace std { +  // [list], class template list +  using std::list; + +  using std::operator==; +  using std::operator<=>; + +  using std::swap; + +  // [list.erasure], erasure +  using std::erase; +  using std::erase_if; + +  namespace pmr { +    using std::pmr::list; +  } +} // namespace std  | 
