cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] [Fwd: Compilation fixes from Bob Ham <rah@bash.sh> - it shouldn't be like this :)]

From: Brad Hubbard <curlpp_at_brand-hubs.com>
Date: Mon, 24 Nov 2008 15:52:08 +1000

Piotr Dobrogost wrote:
>
> From above one can see we really need them all :) I'd propose to add using namespace std in all examples and remove all qualifications to std namespace (std::).
I personally would lean the other way, the std:: qualifier makes it far
more clear what you are doing and does not pollute the global namespace.
You could also consider "using std::memcpy;" etc. to keep the global
namespace cleaner.

The headers need to be tidied up for g++ 4.3.0 anyway, it is far
stricter on where headers are included and requires the programmer be
more specific, From memory the headers in question were cstdlib and
cstring and they had to be included in multiple places where they
currently are available as a side-effect of another include.

Kind regards,
Brad Hubbard
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2008-11-24

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET