unpaintable (the solution to logical const)

Knud Soerensen 4tuu4k002 at sneakemail.com
Fri Apr 4 13:38:51 PDT 2008


> 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



More information about the Digitalmars-d mailing list