On 3/1/2011 4:12 PM, bearophile wrote:
Bekenn:

I'd remove those parens; you don't want people modifying TRUE or FALSE.

Please, show me working code that implements your idea :-)

Bye,
bearophile

Here you go; I only changed the one line. Compiles and works just fine in dmd 2.051.

        const Foo* TRUE, FALSE;
instead of
        const(Foo)* TRUE, FALSE;

Reply via email to