This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFC] "C" header options


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]