On Monday, 5 March 2012 at 06:19:53 UTC, Chad J wrote:
That's cool. Maybe someone should stick it in Phobos?
I just made a patch and sent it up. It'll have to be reviewed by the others, but I expect we'll have something in std.typecons for the next release.
I also didn't know about @disabled; that's a nifty addition.
Yeah, we brought it up one of the previous null discussions, and Walter+Andrei liked it as a general solution to enable this and other checks, like ranged integers. Still somewhat new, though; havn't realized all its potential yet.