anonymus struct or class instances as arguments

Karen Lanrap karen at digitaldaemon.com
Fri Dec 8 09:13:39 PST 2006


Lionello Lunesu wrote:

> Sounds like a job for tuples!

Those have to be programmed also ...
And one is loosing the abstraction of an initialization.

Basically the OP seems to wish something like:

    funk({9});

i.e. struct literals with type deduction.



More information about the Digitalmars-d mailing list