Álvaro Castro-Castilla wrote:
It does. Shouldn't this work also?struct foo {void opDispatch( string name, T... )( T values ) { } } void main( ) { foo f;f.bar( 3.14 ); }
Declare as: void opDispatch(string name, T...)(T values...) ^^^
Álvaro Castro-Castilla wrote:
It does. Shouldn't this work also?struct foo {void opDispatch( string name, T... )( T values ) { } } void main( ) { foo f;f.bar( 3.14 ); }
Declare as: void opDispatch(string name, T...)(T values...) ^^^