Quick Links:

bal | bbl | bdl | bsl

Public Member Functions | Public Attributes

bdlb::Variant_EqualityTestVisitor Struct Reference

#include <bdlb_variant.h>

List of all members.

Public Member Functions

 Variant_EqualityTestVisitor (const void *buffer)
template<class TYPE >
void operator() (const TYPE &value) const
void operator() (bslmf::Nil) const

Public Attributes

bool d_result
const void * d_buffer_p

Detailed Description

This visitor, when invoked as a non-modifiable function object on an instance of some template parameter TYPE, tests the equality of the value of that instance and of another instance held in a buffer specified at construction of this visitor, and stores the result into its publicly accessible d_result member.

See Component bdlb_variant


Constructor & Destructor Documentation

bdlb::Variant_EqualityTestVisitor::Variant_EqualityTestVisitor ( const void *  buffer  )  [inline, explicit]

References BSLS_ASSERT_SAFE.


Member Function Documentation

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

Member Data Documentation

held, not owned


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