Simen Kjaeraas <> changed:

           What    |Removed                     |Added
            Summary|]Rebindable should be       |[PATCH] Rebindable should
                   |castable to bool            |be castable to bool

--- Comment #1 from Simen Kjaeraas <> 2010-08-31 08:09:08 
PDT ---
Yeah, that's what you get when you press the wrong buttons. :p

Anyways, Rebindable should be castable to bool, to allow for the idiom
Rebindable!T foo; if (foo) {}.

Addition to typecons.d, line 747:

            T opCast(T : bool)()
                return original !is null;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to