proxygen
|
#include <Base-inl.h>
Classes | |
class | WrapperBase |
class | WrapperImpl |
Public Member Functions | |
template<class Self > | |
VirtualGen (Self source) | |
VirtualGen (VirtualGen &&source) noexcept | |
VirtualGen (const VirtualGen &source) | |
VirtualGen & | operator= (const VirtualGen &source) |
VirtualGen & | operator= (VirtualGen &&source) noexcept |
bool | apply (const std::function< bool(Value)> &handler) const |
void | foreach (const std::function< void(Value)> &body) const |
Public Member Functions inherited from folly::gen::GenImpl< Value, VirtualGen< Value > > | |
bool | apply (Handler &&handler) const |
void | foreach (Body &&body) const |
Public Member Functions inherited from folly::gen::FBounded< Self > | |
const Self & | self () const |
Self & | self () |
Private Attributes | |
std::unique_ptr< const WrapperBase > | wrapper_ |
Additional Inherited Members | |
Public Types inherited from folly::gen::GenImpl< Value, VirtualGen< Value > > | |
typedef Value | ValueType |
typedef std::decay< Value >::type | StorageType |
Static Public Attributes inherited from folly::gen::GenImpl< Value, VirtualGen< Value > > | |
static constexpr bool | infinite |
Protected Member Functions inherited from folly::gen::GenImpl< Value, VirtualGen< Value > > | |
GenImpl ()=default | |
GenImpl (GenImpl &&)=default | |
GenImpl (const GenImpl &)=default | |
GenImpl & | operator= (GenImpl &&)=default |
GenImpl & | operator= (const GenImpl &)=default |
VirtualGen<T> - For wrapping template types in simple polymorphic wrapper.
Polymorphic wrapper
Definition at line 2485 of file Base-inl.h.
|
inline |
Definition at line 2518 of file Base-inl.h.
|
inlinenoexcept |
Definition at line 2521 of file Base-inl.h.
|
inline |
Definition at line 2524 of file Base-inl.h.
|
inline |
Definition at line 2536 of file Base-inl.h.
References handler().
|
inline |
Definition at line 2540 of file Base-inl.h.
|
inline |
Definition at line 2526 of file Base-inl.h.
References folly::gen::VirtualGen< Value >::wrapper_.
|
inlinenoexcept |
Definition at line 2531 of file Base-inl.h.
References folly::gen::move.
|
private |
Definition at line 2514 of file Base-inl.h.
Referenced by folly::gen::VirtualGen< Value >::operator=().