Getting the const-correctness of Object sorted once and for all

Christophe travert at phare.normalesup.org
Tue May 15 11:49:51 PDT 2012


Chad J , dans le message (digitalmars.D:167461), a écrit :
> An idea I thought of is to introduce a method local declaration that 
> allows a method to access instance-specific-state that isn't accessible 
> to the rest of the class:

It is not good for caching results, since the cache often has to be 
erased when the object is modified.


More information about the Digitalmars-d mailing list