Function call operators

Synopses

Declared in <bdlb_variant.h>

Treat an unset variant as equal to an unset peer.

void
operator()(bslmf::Nil unused) const;

Compare the supplied value with the peer buffer and store the result in d_result.

template<class TYPE>
void
operator()(TYPE const& value) const;

Parameters

Name

Description

unused

unused bslmf::Nil placeholder

value

value assigned to or stored in this variant

Created with MrDocs