Apply visitor to the held alternative without validity checks.
Declared in <bdlb_variant.h>
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
applyRaw(VISITOR& visitor);
Apply the specified visitor to this modifiable 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. The behavior is undefined if this variant is unset.
result of invoking visitor on the active alternative
| Name | Description |
|---|---|
| visitor | callable applied to the active alternative |