AttributedFunction.opCall - multiple declarations
- Function AttributedFunction.opCall
- Function AttributedFunction.opCall
Function AttributedFunction.opCall
Used to invoke configured function/method with all attached attribute functions.
As aliased method symbols can't be called without the context, explicit providing of delegate to call is required
Prototype
ReturnType!Function opCall(T...)( AttributedFunction.FunctionDg dg, cloneFunction.T args );
Parameters
Name | Description |
---|---|
dg | delegated created from function / method to call |
args | list of arguments to dg not provided by attached attribute function |
Return
proxies return value of dg
Function AttributedFunction.opCall
Convenience wrapper tha creates stub delegate for free functions.
As those do not require context, passing delegate explicitly is not required.
Prototype
ReturnType!Function opCall(T...)( cloneFunction.T args );
Authors
Михаил Страшун
Copyright
© 2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.