Quick Links:

bal | bbl | bdl | bsl

Public Member Functions | Public Attributes

bdlb::Variant_DefaultConstructVisitor Struct Reference

#include <bdlb_variant.h>

List of all members.

Public Member Functions

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

Public Attributes

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 create a default instance of TYPE.

See Component bdlb_variant


Constructor & Destructor Documentation

bdlb::Variant_DefaultConstructVisitor::Variant_DefaultConstructVisitor ( bslma::Allocator allocator  )  [inline, explicit]

Member Function Documentation

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

Member Data Documentation


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