Pass _arguments to next method?
Benjamin Schulte
Aldoric at gmx.de
Fri Jul 4 02:14:43 PDT 2008
Hi!
For example, we have the following methods: (Just example - might not be useful ;P)
void calc_sum( ... ) { /* do something */ }
void calc_dif( ... ) { /* do something */ }
void calc( int what, ... ) {
switch( what ) {
case 0: calc_sum( /* here is the problem */ ); break;
case 1: calc_dif( /* here is the problem */ ); break;
}
}
How can I pass the _arguments to the next called methods?
Thanks in advance :)
More information about the Digitalmars-d
mailing list