Method AttributedFunction.prepareInputAndCall

Overload group

Does all the magic necessary to prepare argument list for attributed function based on `input_attributes` and `opCall` argument list.

Catches all name / type / size mismatch erros in that domain via static asserts.

Prototype

ReturnType!Function prepareInputAndCall(T...)(
  AttributedFunction.FunctionDg dg,
  cloneFunction.T args
);

Parameters

NameDescription
dg delegate for attributed function / method
args argument list from `opCall`

Returns

proxies return value of dg

Overload group

`prepareInputAndCall` overload that operates on argument tuple that exactly matches attributed function argument list and thus gets updated by attached function instead of being merged with it

Prototype

ReturnType!Function prepareInputAndCall(T...)(
  AttributedFunction.FunctionDg dg,
  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.