Assert Expressions???

BCS ao at pathlink.com
Thu Jul 26 13:52:52 PDT 2007


this is just odd

void main()
{
  bool a;
  a ? assert(a) : assert(!a);
}

http://www.digitalmars.com/d/expression.html




More information about the Digitalmars-d-learn mailing list