Same as the related overload above for invokeVisitor.

Synopsis

Declared in <bdljsn_json.h>

template<
    class VISITOR,
    class ARGUMENT>
static
decltype(auto)
invokeVisitor(
    VISITOR const& visitor,
    ARGUMENT const& argument);

Return Value

the value returned by invoking visitor with argument

Parameters

Name

Description

visitor

callable to invoke

argument

value passed to visitor

Created with MrDocs