Home | History | Annotate | Download | only in tuple.apply

Lines Matching refs:Tuple

12 // <tuple>
14 // template <class T, class Tuple> constexpr T make_from_tuple(Tuple&&);
16 #include <tuple>
29 template <class Tuple>
34 Tuple args;
40 template <template <class ...> class Tuple, class ...Types>
41 struct ConstructibleFromTuple<Tuple<Types...>> {
47 Tuple<std::decay_t<Types>...> args;
62 template <class Tuple>
63 constexpr bool do_constexpr_test(Tuple&& tup) {
64 using RawTuple = std::decay_t<Tuple>;
66 return std::make_from_tuple<Tp>(std::forward<Tuple>(tup)).args == tup;
75 template <class ...ExpectTypes, class Tuple>
76 bool do_forwarding_test(Tuple&& tup) {
77 using RawTuple = std::decay_t<Tuple>;
79 const Tp value = std::make_from_tuple<Tp>(std::forward<Tuple>(tup));
86 constexpr std::tuple<> tup;
90 constexpr std::tuple<int> tup(42);
94 constexpr std::tuple<int, long, void*> tup(42, 101, nullptr);
102 using Tuple = std::array<int, 3>;
103 using ValueTp = ConstexprConstructibleFromTuple<Tuple>;
104 constexpr Tuple arr = {42, 101, -1};
113 using Tup = std::tuple<>;
120 using Tup = std::tuple<int>;
129 using Tup = std::tuple<int&, const char*, unsigned&&>;
174 using Tuple = std::tuple<int, NothrowMoveable>;
175 Tuple tup; ((void)tup);
176 Tuple const& ctup = tup; ((void)ctup);
181 using Tuple = std::pair<int, NothrowMoveable>;
182 Tuple tup; ((void)tup);
183 Tuple const& ctup = tup; ((void)ctup);
188 using Tuple = std::tuple<int, int, int>;
189 Tuple tup; ((void)tup);
193 using Tuple = std::tuple<long, long, long>;
194 Tuple tup; ((void)tup);
198 using Tuple = std::array<int, 3>;
199 Tuple tup; ((void)tup);
203 using Tuple = std::array<long, 3>;
204 Tuple tup; ((void)tup);