Quick Links:

bal | bbl | bdl | bsl

Public Member Functions | Public Attributes

bdlb::Variant_MoveConstructVisitor Struct Reference

#include <bdlb_variant.h>

List of all members.

Public Member Functions

 Variant_MoveConstructVisitor (void *buffer, bslma::Allocator *allocator)
template<class TYPE >
void operator() (TYPE &value) const

Public Attributes

void * d_buffer_p
bslma::Allocatord_allocator_p

Detailed Description

This visitor, when invoked as a non-modifiable function object on an instance of some template parameter TYPE, will move-insert that instance to create an instance of the same TYPE in an uninitialized buffer specified at construction of this visitor.

See Component bdlb_variant


Constructor & Destructor Documentation

bdlb::Variant_MoveConstructVisitor::Variant_MoveConstructVisitor ( void *  buffer,
bslma::Allocator allocator 
) [inline]

References BSLS_ASSERT_SAFE.


Member Function Documentation

template<class TYPE >
void bdlb::Variant_MoveConstructVisitor::operator() ( TYPE &  value  )  const [inline]

Member Data Documentation


The documentation for this struct was generated from the following file: