BSLSTL_VARIANT_VISITID

Invoke Variant_ImpUtil::visitId on VAROBJ with VISITOR.

Synopsis

Declared in <bslstl_variant.h>

#define BSLSTL_VARIANT_VISITID(RET, VISITOR, VAROBJ)

Description

This component-private macro expands to the invocation of Variant_ImpUtil::visitId with specified RET as return type, and specified VISITOR and specified VAROBJ as arguments. See the documentation of Variant_ImpUtil::visitId for more details.

Parameters

NameDescription
RETexplicit return type of the visitation
VISITORvisitor to invoke
VAROBJvariant object to visit