applyRaw overloads
Synopses
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;
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;
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;
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;
Apply visitor to the held alternative without validity checks.
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
applyRaw(VISITOR& visitor);
Apply visitor to the held value and return RET_TYPE.
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
applyRaw(VISITOR& visitor) const;
Apply a const visitor to the held alternative without checks.
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
applyRaw(VISITOR const& visitor);
Same as the preceding overload, but for a const visitor.
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
applyRaw(VISITOR const& visitor) const;
Return Value
result of invoking visitor on the active alternative
Parameters
Name |
Description |
visitor |
callable applied to the active alternative |
Created with MrDocs