applyRaw overloads
Declared in <bdlb_variant.h>
Apply visitor to the held TYPE value of this modifiable variant.
template<class VISITOR>
VISITOR::ResultType
applyRaw(VISITOR& visitor)
requires Variant_ReturnValueHelper<VISITOR>::value == 1;
» more...
Apply visitor to the held value and return RET_TYPE.
template<class VISITOR>
VISITOR::ResultType
applyRaw(VISITOR& visitor) const
requires Variant_ReturnValueHelper<VISITOR>::value == 1;
» more...
Apply visitor to the held TYPE value of this modifiable variant.
template<class VISITOR>
VISITOR::ResultType
applyRaw(VISITOR const& visitor)
requires Variant_ReturnValueHelper<VISITOR>::value == 1;
» more...
Apply visitor to the held value and return its result.
template<class VISITOR>
VISITOR::ResultType
applyRaw(VISITOR const& visitor) const
requires Variant_ReturnValueHelper<VISITOR>::value == 1;
» more...
Apply visitor to the held alternative without validity checks.
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
applyRaw(VISITOR& visitor);
» more...
Apply visitor to the held value and return RET_TYPE.
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
applyRaw(VISITOR& visitor) const;
» more...
Apply a const visitor to the held alternative without checks.
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
applyRaw(VISITOR const& visitor);
» more...
Same as the preceding overload, but for a const visitor.
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
applyRaw(VISITOR const& visitor) const;
» more...
result of invoking visitor on the active alternative
| Name | Description |
|---|---|
| visitor | callable applied to the active alternative |