Quick Links: |
#include <bdlb_variant.h>
Public Member Functions | |
Variant_CopyAssignVisitor (void *buffer) | |
template<class TYPE > | |
void | operator() (const TYPE &value) |
Public Attributes | |
void * | d_buffer_p |
This visitor, when invoked as a non-modifiable function object on an instance of some template parameter TYPE
, will copy-assign that instance to the instance of the same TYPE
held in a buffer specified at construction of this visitor.
bdlb::Variant_CopyAssignVisitor::Variant_CopyAssignVisitor | ( | void * | buffer | ) | [inline, explicit] |
References BSLS_ASSERT_SAFE.
void bdlb::Variant_CopyAssignVisitor::operator() | ( | const TYPE & | value | ) | [inline] |