Re: Compiler namespace support
"Alexander J. Oss" <[email protected]> Wed, 27 Nov 2002 22:59:41 -0500
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <007901c29692$947e6c20$0101a8c0@puter> |
I didn't see any responses, so I'll put in my 2 cents... I use Borland C++ Builder 4 and 5, and gcc (and mebbe VC++ 6 if I have to, in the near future). All of these should have no problem. And if it helps make the code more readable, I'm all for it. Note also that I concur with the generally accepted practice of not including "using" statements in header files (i.e. using explicit namespaces), but I always use whatever "using" statements are helpful after all headers have been included in code files. So I have no problem if I see a lot of: using namespace std; using namespace cgicc; at the top of your code files. ----- Original Message ----- From: "Stephen F. Booth" <[email protected]> To: <[email protected]> Sent: Sunday, November 24, 2002 7:54 PM Subject: [help-cgicc] Compiler namespace support I was thinking of cleaning up the library code a little bit by removing all the STDNS macro stuff, to be replaced with actual namespace support. I believe that most C++ compilers by now support namespaces more thoroughly than when I originally wrote the code. I know gcc has worked with namespaces for perhaps the last 3 major revisions. My question is this: is anyone using a compiler that, were I to remove the STDNS macro and require namespace support, would not be able to compile the library? -Stephen _______________________________________________ help-cgicc mailing list [email protected] http://mail.gnu.org/mailman/listinfo/help-cgicc