Apply the specified visitor to this modifiable variant by passing the value (of template parameter TYPE) 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& visitor);
Created with MrDocs