digitalmars.D - name variable function call
- BCS (10/10) Oct 03 2007 with struct literals and opImplictCast we have it
- Jarrett Billingsley (5/15) Oct 04 2007 Oh wow!
with struct literals and opImplictCast we have it struct FnWithLotsOfArgs { int lots; float of; char args; int opImplicitCast(){...} } int i = FnWithLotsOfArgs(args:'t', of:3.14, lots:5); I think I remember that correctly
Oct 03 2007
"BCS" <BCS pathlink.com> wrote in message news:fe1b5s$2u9b$1 digitalmars.com...with struct literals and opImplictCast we have it struct FnWithLotsOfArgs { int lots; float of; char args; int opImplicitCast(){...} } int i = FnWithLotsOfArgs(args:'t', of:3.14, lots:5); I think I remember that correctlyOh wow! Course it's a little "hidden" and you can counterintuitively instantiate that struct. But still.
Oct 04 2007