How to declare function with the same call signature as another?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Nov 23 18:11:21 PST 2016


On Thursday, 24 November 2016 at 00:51:01 UTC, Tofu Ninja wrote:
> Even with std.traits, you can't know which arguments are 
> variadic.
sure, you can. see 
http://dpldocs.info/experimental-docs/std.traits.variadicFunctionStyle.html

that will return variadic style. and the only argument that can 
be variadic is last. it is enough to reconstruct the signature.


More information about the Digitalmars-d-learn mailing list