Re:Why should I have written ZeroMQ in C, not C++ (part II)
by scott_s on Thursday August 30, 2012 @02:26PM
(#4456022)
That's what I thought at first, but friend is for when you want class A to be able to view private things of class B. That is, B needs to know ahead of time what A is interested in. He wants B to remain ignorant of what A wants - he wants A to be able to insert new fields into B. But we can accomplish the same thing with mixins.
[ Parent
| on HN ]
There are no comments on this comment yet.