D compile time algorithms implementation

David Nadlinger see at klickverbot.at
Wed Apr 24 12:28:02 PDT 2013


On Wednesday, 24 April 2013 at 08:46:03 UTC, khurshid wrote:
> Is this code right?
>
>
> template templateAnd(Preds...)
> { … }

No. templateAnd/templateOr are documented to perform 
short-circuit evaluation of the operands.

David


More information about the Digitalmars-d mailing list