boost::openmethod::method<Id, ReturnType(Parameters...), Registry>::operator()
Call the method
Synopsis
Declared in <boost/openmethod/core.hpp>
[[__always_inline__]]
ReturnType
operator()(StripVirtualDecorator<Parameters>::type... args) const;
Description
Call the method with args. The types of the arguments are the same as the method Parameters..., stripped from any virtual\_ decorators.
Errors
If Registry contains an error_handler policy, call its error function with an object of one of the following types:
-
not_implemented: No overrider is applicable. -
ambiguous_call: More than one overrider is applicable, and none is more specialized than all the others.
Parameters
| Name | Description |
|---|---|
args |
The arguments for the method call |
Created with MrDocs