proxygen
folly::detail::TypeList< Ts > Struct Template Reference

#include <TypeList.h>

Public Types

using type = TypeList
 
template<class Fn >
using apply = MetaApply< Fn, Ts... >
 

Static Public Member Functions

static constexpr std::size_t size () noexcept
 

Detailed Description

template<class... Ts>
struct folly::detail::TypeList< Ts >

A list of types.

Definition at line 96 of file TypeList.h.

Member Typedef Documentation

template<class... Ts>
template<class Fn >
using folly::detail::TypeList< Ts >::apply = MetaApply<Fn, Ts...>

This list of types is also a metafunction class that accepts another metafunction class and invokes it with all the types in the list.

Definition at line 114 of file TypeList.h.

template<class... Ts>
using folly::detail::TypeList< Ts >::type = TypeList

An alias for this list of types

Definition at line 100 of file TypeList.h.

Member Function Documentation

template<class... Ts>
static constexpr std::size_t folly::detail::TypeList< Ts >::size ( )
inlinestaticnoexcept
Returns
the number of types in this list.

Definition at line 105 of file TypeList.h.

105  {
106  return sizeof...(Ts);
107  }

The documentation for this struct was generated from the following file: