BloombergLP::bdljsn::Json_VisitUtil::invokeVisitor

invokeVisitor overloads

Synopses

Declared in <bdljsn_json.h>

Same as the related overload above for invokeVisitor.

template<
    class VISITOR,
    class ARGUMENT>
static
decltype(auto)
invokeVisitor(
    BloombergLP::bslmf::MovableRef_Deduced<VISITOR> visitor,
    ARGUMENT const& argument);
» more...

Same as the overload taking a const VISITOR&.

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

Same as the related overload above for invokeVisitor.

template<
    class RETURN_TYPE,
    class VISITOR,
    class ARGUMENT>
static
RETURN_TYPE
invokeVisitor(
    BloombergLP::bslmf::MovableRef_Deduced<VISITOR> visitor,
    ARGUMENT const& argument);
» more...

Same as the overload taking a VISITOR pointer.

template<
    class RETURN_TYPE,
    class VISITOR,
    class ARGUMENT>
static
RETURN_TYPE
invokeVisitor(
    VISITOR& visitor,
    ARGUMENT const& argument);
» more...

Same as the overload taking a VISITOR pointer.

template<
    class RETURN_TYPE,
    class VISITOR,
    class ARGUMENT>
static
RETURN_TYPE
invokeVisitor(
    VISITOR const& visitor,
    ARGUMENT const& argument);
» more...

Invoke the specified visitor (callable object) with the specified argument and return the computed value of (template parameter) the RETURN_TYPE. Note that in typical use, argument has the current value and type of a Json object.

template<
    class RETURN_TYPE,
    class VISITOR,
    class ARGUMENT>
static
RETURN_TYPE
invokeVisitor(
    VISITOR* visitor,
    ARGUMENT const& argument);
» more...