This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Overloading vs. string functions, etc.
>>>>> "Andreas" == Andreas Jaeger <aj@suse.de> writes:
Andreas> But this would break with GCC 2.95, wouldn't it? So it
Andreas> should be (__GNUC_PREREQ just check that we use GCC with
Andreas> the supplied version):
Yes -- I was short on the details.
>> Also, add overloads for the variants of these functions that
>> are not present in C? And make the functions inlines that call
>> `__builtin_foo' under C++?
Andreas> I'm not sure what you really mean here.
In C++, the standard says that there are two versions of some
functions. Like ones that take a `char *' -- C++ sometimes has an
extra version with the same name that takes a `const char *' as well.
Andreas> I have to discuss this with the other glibc developers
Andreas> and this is actually not yet implemented so might be too
Andreas> late for GCC 3.0.
Definitely. I'm thinking for the sometime-distant future.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com