unpaintable (the solution to logical const)
Simen Kjaeraas
simen.kjaras at gmail.com
Fri Apr 4 15:31:49 PDT 2008
On Fri, 04 Apr 2008 23:38:11 +0200, Russell Lewis
<webmaster at villagersonline.com> wrote:
> (sigh) And so another Paint Shed Problem starts.
>
> C'mon folks, everybody knows that the right syntax for this is actually:
> invariant(!const)
>
> (removes tongue from cheek)
Actually, seeing as it's the constancy of the variable that is const, we
could use const(const) T x, const(invariant) T x, and const() T x. :p
More information about the Digitalmars-d
mailing list