This is the mail archive of the
mailing list for the libstdc++ project.
Re: [patch] Remove invalid test on non-const empty strings
On Fri, Jan 21, 2005 at 10:49:50AM +0000, Chris Jefferson wrote:
> If adding overloads to std is valid however then really the test / code
> needs fixing anyway, as you say, as this is something which can legally
> be done. I am somewhat suprised people are allowed to add overloads
> here, but if thats what the standard says, so be it!
As I said:
> >They're specialisations, not overloads, so are absolutely fine.
Otherwise you couldn't specialise std::iterator_traits, for instance.
"I was born not knowing and have had only a little time to
change that here and there."