Apply the specified visitor to this variant by passing the value this variant currently holds to the visitor object's operator(), and return the value (of template parameter RET_TYPE) returned by the visitor. If this variant is unset, a default constructed bslmf::Nil is passed to the visitor.
Synopsis
Declared in <bdlb_variant.h>
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
apply(VISITOR const& visitor) const;
Created with MrDocs