proxygen
folly::detail::apply_tuple::adl Namespace Reference

Classes

struct  ApplyInvoke
 

Functions

template<typename Tuple , std::size_t... Indices, typename ReturnTuple = std::tuple<decltype(get<Indices>(std::declval<Tuple>()))...>>
auto forward_tuple (Tuple &&tuple, index_sequence< Indices... >) -> ReturnTuple
 

Function Documentation

template<typename Tuple , std::size_t... Indices, typename ReturnTuple = std::tuple<decltype(get<Indices>(std::declval<Tuple>()))...>>
auto folly::detail::apply_tuple::adl::forward_tuple ( Tuple &&  tuple,
index_sequence< Indices... >   
) -> ReturnTuple

Definition at line 60 of file ApplyTuple.h.

Referenced by folly::forward_tuple().

60  {
61  return ReturnTuple{get<Indices>(std::forward<Tuple>(tuple))...};
62 }