unpaintable (the solution to logical const)

Gide Nwawudu gide at btinternet.com
Sat Apr 5 05:54:36 PDT 2008


On Fri, 04 Apr 2008 22:38:51 +0200, Knud Soerensen
<4tuu4k002 at sneakemail.com> wrote:

>
>> Walter said that having mutable fields breaks the whole const system.
>> He may have been right - but having /unpaintable/ fields is just fine
>> and dandy. Everything works. const(...) and invariant(...) will paint
>> only the paintable fields with constancy, but those fields the paint
>> recursively.
>> 
>> It just works.
>
>I like the idea. Here are some suggestion for a better name.
>isolate
>confine
>detach
>stable
>steady
>stationary
>fixed
>permanent

I'll throw these two suggestions into the mix.

	rigid
	stubborn

Gide



More information about the Digitalmars-d mailing list