Lines Matching refs:tuple
5 // Use std::tuple as tuple type. This file contains helper functions for
8 // or instance and method pointer, and unpack a tuple into arguments to the
12 // // These two methods of creating a Tuple are identical.
13 // std::tuple<int, const char*> tuple_a(1, "wee");
14 // std::tuple<int, const char*> tuple_b = std::make_tuple(1, "wee");
29 #include <tuple>
108 // rvalue-reference of a tuple, where an rvalue-reference is expected.
110 typename std::tuple_element<I, std::tuple<Ts...>>::type&& get(
111 std::tuple<Ts...>&& t) {
112 using ElemType = typename std::tuple_element<I, std::tuple<Ts...>>::type;
127 // tuple arguments. Notice that they all have the same number of arguments,
138 const std::tuple<Ts...>& arg,
146 const std::tuple<Ts...>& arg) {
154 const std::tuple<Ts...>& arg,
161 const std::tuple<Ts...>& arg) {
175 const std::tuple<InTs...>& in,
176 std::tuple<OutTs...>* out,
186 const std::tuple<InTs...>& in,
187 std::tuple<OutTs...>* out) {