proxygen
TupleOps.h File Reference
#include <limits>
#include <tuple>
#include <type_traits>

Go to the source code of this file.

Classes

struct  folly::TemplateSeq< T, xs >
 
struct  folly::TemplateRange< T, start, n, Enable >
 
struct  folly::TemplateRange< T, start, n, Enable >::type
 
struct  folly::enable_if<(n<=0)>::type >
 
struct  folly::TemplateTupleRange< T, start, n, size >
 
struct  folly::detail::TupleSelect< S >
 
struct  folly::detail::TupleSelect< TemplateSeq< std::size_t, Ns... > >
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::detail
 

Functions

template<std::size_t start = 0, std::size_t n = std::numeric_limits<std::size_t>::max(), class T , class Seq = typename TemplateTupleRange<T, start, n>::type>
auto folly::tupleRange (T &&v) -> decltype(detail::TupleSelect< Seq >::select(std::forward< T >(v)))
 
template<class T , class U >
auto folly::tuplePrepend (T &&car, U &&cdr) -> decltype(std::tuple_cat(std::make_tuple(std::forward< T >(car)), std::forward< U >(cdr)))