Re: Feature request: Attribute to delay evaluation of function argument

2012-11-04 Thread Clinton Mead
On Sun, Nov 4, 2012 at 12:33 PM, Oleg Endo wrote: > On Sun, 2012-11-04 at 11:02 +1100, Clinton Mead wrote: >> Hi All >> >> This is a feature request. To explain, lets say I want to create a >> TriBool type, like so: >> >> enum TriBool { False, True, U

Feature request: Attribute to delay evaluation of function argument

2012-11-03 Thread Clinton Mead
Hi All This is a feature request. To explain, lets say I want to create a TriBool type, like so: enum TriBool { False, True, Unknown }; I now want to implement operator&&. I want operator&& to short circuit, i.e. if the first argument is False the second argument shouldn't be evaluated. So I'll