Lines Matching refs:Tuple
237 template <typename Functor, typename Tuple, std::size_t... Indexes>
238 auto apply_helper(Functor&& functor, Tuple&& t, index_sequence<Indexes...>)
241 std::get<Indexes>(absl::forward<Tuple>(t))...)) {
244 std::get<Indexes>(absl::forward<Tuple>(t))...);
288 template <typename Functor, typename Tuple>
289 auto apply(Functor&& functor, Tuple&& t)
291 absl::forward<Functor>(functor), absl::forward<Tuple>(t),
293 typename std::remove_reference<Tuple>::type>::value>{})) {
295 absl::forward<Functor>(functor), absl::forward<Tuple>(t),
297 typename std::remove_reference<Tuple>::type>::value>{});
321 template <typename T, typename Tuple, size_t... I>
322 T make_from_tuple_impl(Tuple&& tup, absl::index_sequence<I...>) {
323 return T(std::get<I>(std::forward<Tuple>(tup))...);
339 template <typename T, typename Tuple>
340 constexpr T make_from_tuple(Tuple&& tup) {
342 std::forward<Tuple>(tup),
344 std::tuple_size<absl::decay_t<Tuple>>::value>{});