tuple function parameters

llee larry at workingwondersus.com
Mon Dec 1 11:12:49 PST 2008


I defined a function that uses a tuple to define it's function parameters like this:

     class Example (Signature ...)
     {
          void f (Signature) { ... }
     }

I want to store the input parameters in an array, where the are is a data member of the enclosing class.

     class Example (Signature ...)
     {
          ? array declaration here. 
          void f (Signature) { ... }
     }

Is this possible? If so, how would I do this?


More information about the Digitalmars-d-learn mailing list