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.
Sean Campbell via Digitalmars-d-learn Sat, 19 Jul 2014 10:11:29 -0700
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.