The only thing it disallows is making !x return something other than a bool. The only place I can think of that would be useful is some sort of logic type that has more than 2 states, but that's a stretch.
The current implementation looks good to me, I was just curious about it. -Steve ----- Original Message ---- > From: Andrei Alexandrescu <[email protected]> > > Walter and I agreed that cast to bool is as good as opUnary. Overloading > unary "!" is now not possible. > > Andrei _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
