BloombergLP::bslstl::Variant_HashVisitor

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

Synopsis

Declared in <bslstl_variant.h>

template<class t_HASHALG>
class Variant_HashVisitor;

Member Functions

NameDescription
Variant_HashVisitor [constructor]Create a Variant_HashVisitor object that, when invoked, appends to the specified hashAlg.
operator() Append the specified value (i.e., the alternative that is being visited) to d_hashAlg.