is there any way for an object to make it self no longer usable

Sean Campbell via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 19 10:05:25 PDT 2014


On Saturday, 19 July 2014 at 13:46:08 UTC, Kagamin wrote:
> You can encapsulate it in a wrapper, which will control access 
> to the object and reject if necessary.

how ?
surely not by writing another class with wrapper methods for the 
existing one.


More information about the Digitalmars-d-learn mailing list