proxygen
|
#include <TypeList.h>
Classes | |
struct | Result |
Public Types | |
template<class... Us> | |
using | apply = _t< If< sizeof(try_(0))-1||sizeof...(Us), Empty, Result >> |
Static Private Member Functions | |
template<template< class... > class D = C, class = D<Ts...>> | |
static char(& | try_ (int))[1] |
static char(& | try_ (long))[2] |
Defers the evaluation of an alias.
Given a template C
and arguments Ts...
, then
C<Ts...>
is well-formed, MetaApply<MetaDefer<C, Ts...>>
is well- formed and is an alias for C<Ts...>
.MetaApply<MetaDefer<C, Ts...>>
is ill-formed. Definition at line 170 of file TypeList.h.
using folly::detail::MetaDefer< C, Ts >::apply = _t<If<sizeof(try_(0)) - 1 || sizeof...(Us), Empty, Result>> |
Definition at line 180 of file TypeList.h.
|
staticprivate |
|
staticprivate |