Here is a helpful discussion on stack overflow about whether friend in C++ breaks encapsulation: http://stackoverflow.com/questions/1093618/how-does-the-friend-keyword-class-function-break-encapsulation-in-c
Also an article on encapsulation by Scott Meyers: http://www.drdobbs.com/cpp/how-non-member-functions-improve-encapsu/184401197 Basically I think the consensus is that encapsulation != everything is private. Also I like Meyer's point that encapsulation is a means, not an end. On 18 January 2013 20:11, Craig Dillabaugh <[email protected]> wrote: >> >> snip >> >> >> Anyway, just wanted to say that this thread got off topic in an >> awful hurry. > > > It sort of funny that the thread started off with a complaint > about Walters lack of focus and quickly got off topic. Maybe > lack of focus is a common attribute of people interested in D. > > I suggested that D be renamed the ADD language. -- -=Miles Stoudenmire=- [email protected] [email protected] http://itensor.org/miles/
