On Monday, 25 March 2013 at 18:15:21 UTC, TommiT wrote:
... I would like to be able to say:

(++bar).fun();

Actually, let's forget about this proposal. I thought about it a bit more, and I'm convinced that object composition is not the correct tool for what I'm trying to achieve. The mere fact, that post-increment operator in Foo cannot be composed into Bar like pre-increment could in the example above, is a clear indication that the tool isn't right for the job.

Reply via email to