diff options
Diffstat (limited to 'libcxx/modules/std/tuple.cppm')
| -rw-r--r-- | libcxx/modules/std/tuple.cppm | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/libcxx/modules/std/tuple.cppm b/libcxx/modules/std/tuple.cppm new file mode 100644 index 000000000000..6c7dc5c7bf00 --- /dev/null +++ b/libcxx/modules/std/tuple.cppm @@ -0,0 +1,57 @@ +// -*- 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 <tuple> + +export module std:tuple; +export namespace std { + // [tuple.tuple], class template tuple + using std::tuple; + + // [tuple.like], concept tuple-like + + // [tuple.common.ref], common_reference related specializations + using std::basic_common_reference; + using std::common_type; + + // [tuple.creation], tuple creation functions + using std::ignore; + + using std::forward_as_tuple; + using std::make_tuple; + using std::tie; + using std::tuple_cat; + + // [tuple.apply], calling a function with a tuple of arguments + using std::apply; + + using std::make_from_tuple; + + // [tuple.helper], tuple helper classes + using std::tuple_element; + using std::tuple_size; + + // [tuple.elem], element access + using std::get; + using std::tuple_element_t; + + // [tuple.rel], relational operators + using std::operator==; + using std::operator<=>; + + // [tuple.traits], allocator-related traits + using std::uses_allocator; + + // [tuple.special], specialized algorithms + using std::swap; + + // [tuple.helper], tuple helper classes + using std::tuple_size_v; +} // namespace std |
