On Wednesday, 10 April 2013 at 16:08:53 UTC, Andrei Alexandrescu wrote:
It may as well be a mistake that nonvirtual functions are at all part of a class' methods. This has been quite painfully seen in C++ leading to surprising conclusions: http://goo.gl/dqZrr.

"Non-Member Functions Improve Encapsulation" is invalid for D because of implicit friends.

It was discussed before: http://forum.dlang.org/post/[email protected]

--
Alexander

Reply via email to