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

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 19 11:45:51 PDT 2014


On Saturday, 19 July 2014 at 17:05:27 UTC, Sean Campbell wrote:
> surely not by writing another class with wrapper methods for 
> the existing one.

If you don't want to write the class, you can write a generator 
for it. See BlackHole wrapper for an example.


More information about the Digitalmars-d-learn mailing list