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