proxygen
|
#include <Partial.h>
Public Member Functions | |
template<typename Callable , typename... Args> | |
Partial (PartialConstructFromCallable, Callable &&callable, Args &&...args) | |
template<typename... CArgs> | |
auto | operator() (CArgs &&...cargs)&-> decltype(invokeForward(std::declval< Partial & >(), Indexes |
std::declval ()...)) | |
template<typename... CArgs> | |
auto | operator() (CArgs &&...cargs) const &-> decltype(invokeForward(std::declval< const Partial & >(), Indexes |
std::declval ()...)) | |
template<typename... As> | |
auto | operator() (As &&...a)&&-> decltype(invokeForward(std::declval< Partial && >(), Indexes |
std::declval ()...)) | |
template<typename... As> | |
auto | operator() (As &&...as) const &&-> decltype(invokeForward(std::declval< const Partial && >(), Indexes |
std::declval ()...)) | |
Private Types | |
using | Indexes = make_index_sequence< std::tuple_size< Tuple >{}> |
Static Private Member Functions | |
template<typename Self , std::size_t... I, typename... Args> | |
static auto | invokeForward (Self &&self, index_sequence< I... >, Args &&...args) -> decltype(invoke(std::declval< Self >().f_, std::get< I >(std::declval< Self >().stored_args_)..., std::declval< Args >()...)) |
Private Attributes | |
F | f_ |
Tuple | stored_args_ |
|
private |
|
inline |
|
inlinestaticprivate |
Definition at line 39 of file Partial.h.
References testing::Args(), and folly::invoke().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 60 of file Partial.h.
|
inline |
Definition at line 67 of file Partial.h.
|
inline |
Definition at line 74 of file Partial.h.
References a, and folly::gen::move.
|
inline |
Definition at line 81 of file Partial.h.
References folly::gen::as(), and folly::gen::move.
|
private |
|
private |