[EMAIL PROTECTED] wrote:

> I don't seen any reason to not put them in anonymous namespaces. However 
> i found it peculiar that you need to need to have one project that 
> creates only one executable. Aren't you able to have everything in the 
> same project, but many targets?

I could create one .exe for each example but I put them together 
into one .exe and can choose which to run by giving the number of 
example as the first argument.
The point is someone sooner or later will try to do similar thing 
and we could save him a trouble. That's all.

Looking at this in broader perspective I have a feeling all global 
entities used in any compilation unit as a part of implementation 
(without showing them in public interface - in the header file) 
should be put in anonymous namespace.

Regards
Piotr Dobrogost
_______________________________________________
cURLpp mailing list
cURLpp@rrette.com
http://www.rrette.com/mailman/listinfo/curlpp

Reply via email to