[RFC] "C" header options

Gabriel Dos Reis gdr@codesourcery.com
Fri Jun 8 00:05:00 GMT 2001


Mark Mitchell <mark@codesourcery.com> writes:

| I was hoping that the <cstring> that does:
| 
|   #include <string.h>
| 
|   namespace std {
|     using ::strlen;
|   }
| 
| would work.

For functions whose siignatures are changed by C++, that technique won't
work, and <xxx.h> won't define their names in std::.  Are you
suggesting, we postpose that after gcc-3.0? 

As said earlier, <string.h> should be implemented in terms of
<cstring>, not the other way.

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com



More information about the Libstdc++ mailing list