On 4/21/14, 8:08 AM, Steven Schveighoffer wrote:
Sure, but Lars' point that it completely precludes the encapsulation
mechanism that Scott is advocating, is true. You would have to put the
functions outside the core module to give them the same isolation as
non-friend C++ global functions.

Note, I'm with you that the current mechanism is the "right way." It
just completely prevents that technique of encapsulation :)

-Steve

Got it, thanks. -- Andrei

Reply via email to