Same as the preceding overload, but for a const visitor.
Synopsis
Declared in <bdlb_variant.h>
template<
class RET_TYPE,
class VISITOR>
RET_TYPE
apply(VISITOR const& visitor);
Return Value
result of invoking visitor on the active alternative
Parameters
Name |
Description |
visitor |
callable applied to the active alternative |
Created with MrDocs