|
![](/i/fill.gif) |
Darren New wrote:
> Warp wrote:
>> What do you mean? Ever heard of the nameless namespace? Everything in
>> a nameless namespace is local to that source file and definitely not part
>> of the public interface of that module. (In fact, there's no way of
>> accessing anything inside a nameless namespace from another source file.)
>
> You can't make a private method on a class without exposing that in the
> header, can you? (If so, I've been doing it wrong. :-)
Actually, you can. COM does it. But you end up making all public methods
virtual, and a feature of C++ over C# is that you have the choice not to
make everything virtual :)
Post a reply to this message
|
![](/i/fill.gif) |