Correction: playing around with D
Carsten Scharfenberg
cathune_public at web.de
Mon Mar 5 03:22:20 PST 2007
Oops, don't know why I posted this two times...
Also there was a little error in my post:
...
>
> template AssertTest( T )
> {
> static assert( isTupleContainer!( T ) );
>
> alias DoSomething!( T ).Result AssertTest;
> /* alias int AssertTest;*/
> }
>
...
> The assert is triggered in the correct way, if I (1) swap comments for both
> assert lines in AssertTest, or (2) outcomment the first alias line in
> DoSomething! This is very strange...
Correct is:
The assert is triggered in the correct way, if I (1) swap comments for both
*>alias<* lines in AssertTest, or (2) outcomment the first alias line in
DoSomething! This is very strange...
More information about the Digitalmars-d
mailing list