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;
Invoke the wrapped visitor with the specified argument.
template<class ARGUMENT_TYPE>
RESULT_TYPE
operator()(ARGUMENT_TYPE& argument);
Invoke the wrapped visitor with the specified argument.
template<class ARGUMENT_TYPE>
RESULT_TYPE
operator()(ARGUMENT_TYPE& argument) const;
Invoke the wrapped visitor with the specified argument.
template<class ARGUMENT_TYPE>
RESULT_TYPE
operator()(ARGUMENT_TYPE const& argument);
Invoke the wrapped visitor with the specified argument.
template<class ARGUMENT_TYPE>
RESULT_TYPE
operator()(ARGUMENT_TYPE const& argument) const;
Return Value
-
result of invoking the wrapped visitor (behavior is undefined)
-
result of invoking the wrapped visitor
Parameters
Name |
Description |
unused |
unused |
argument |
value passed to the wrapped visitor |
Created with MrDocs