BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslstl::Variant_HashVisitor< t_HASHALG > Class Template Reference

#include <bslstl_variant.h>

Public Member Functions

 Variant_HashVisitor (t_HASHALG &hashAlg)
 
template<class t_TYPE >
void operator() (t_TYPE &value) const
 

Detailed Description

template<class t_HASHALG>
class bslstl::Variant_HashVisitor< t_HASHALG >

This component-private class is a visitor that is used to implement hashAppend for bsl::variant.

See bslstl_variant

Constructor & Destructor Documentation

◆ Variant_HashVisitor()

template<class t_HASHALG >
bslstl::Variant_HashVisitor< t_HASHALG >::Variant_HashVisitor ( t_HASHALG &  hashAlg)
inlineexplicit

Create a Variant_HashVisitor object that, when invoked, appends to the specified hashAlg.

Member Function Documentation

◆ operator()()

template<class t_HASHALG >
template<class t_TYPE >
void bslstl::Variant_HashVisitor< t_HASHALG >::operator() ( t_TYPE &  value) const
inline

Append the specified value (i.e., the alternative that is being visited) to d_hashAlg.


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