BloombergLP::bdlb::Variant_RawVisitorHelper::operator()

Function call operators

Synopses

Declared in <bdlb_variant.h>

Do not call. The behavior of this method is undefined.

RESULT_TYPE
operator()(bslmf::Nil unused) const;
» more...

Invoke the wrapped visitor with the specified argument.

template<class ARGUMENT_TYPE>
RESULT_TYPE
operator()(ARGUMENT_TYPE& argument);
» more...

Invoke the wrapped visitor with the specified argument.

template<class ARGUMENT_TYPE>
RESULT_TYPE
operator()(ARGUMENT_TYPE& argument) const;
» more...

Invoke the wrapped visitor with the specified argument.

template<class ARGUMENT_TYPE>
RESULT_TYPE
operator()(ARGUMENT_TYPE const& argument);
» more...

Invoke the wrapped visitor with the specified argument.

template<class ARGUMENT_TYPE>
RESULT_TYPE
operator()(ARGUMENT_TYPE const& argument) const;
» more...

Return Value

  • result of invoking the wrapped visitor (behavior is undefined)
  • result of invoking the wrapped visitor

Parameters

NameDescription
unusedunused bslmf::Nil placeholder
argumentvalue passed to the wrapped visitor