proxygen
|
#include <Lazy.h>
Public Types | |
typedef invoke_result_t< Func > | result_type |
Public Member Functions | |
Lazy (Func &&f) | |
Lazy (const Func &f) | |
Lazy (Lazy &&o) | |
Lazy (const Lazy &)=delete | |
Lazy & | operator= (const Lazy &)=delete |
Lazy & | operator= (Lazy &&)=delete |
const result_type & | operator() () const |
result_type & | operator() () |
Private Member Functions | |
void | ensure_initialized () const |
Private Attributes | |
Optional< result_type > | value_ |
Func | func_ |
typedef invoke_result_t<Func> folly::detail::Lazy< Func >::result_type |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Definition at line 104 of file Lazy.h.
References folly::detail::Lazy< Func >::Lazy(), and folly::detail::Lazy< Func >::operator=().
|
delete |
|
inlineprivate |
Definition at line 123 of file Lazy.h.
References folly::detail::Lazy< Func >::func_, and folly::detail::Lazy< Func >::value_.
Referenced by folly::detail::Lazy< Func >::operator()().
|
inline |
Definition at line 110 of file Lazy.h.
References folly::detail::Lazy< Func >::ensure_initialized(), and folly::detail::Lazy< Func >::value_.
|
inline |
Definition at line 116 of file Lazy.h.
References folly::detail::Lazy< Func >::ensure_initialized(), and folly::detail::Lazy< Func >::value_.
|
delete |
Referenced by folly::detail::Lazy< Func >::Lazy().
|
delete |
|
mutableprivate |
Definition at line 130 of file Lazy.h.
Referenced by folly::detail::Lazy< Func >::ensure_initialized().
|
mutableprivate |
Definition at line 129 of file Lazy.h.
Referenced by folly::detail::Lazy< Func >::ensure_initialized(), and folly::detail::Lazy< Func >::operator()().