libstdc++/3759: nonconforming use of unqualified std:: names

David Abrahams david.abrahams@rcn.com
Wed Jul 25 15:36:00 GMT 2001


The following reply was made to PR libstdc++/3759; it has been noted by GNATS.

From: "David Abrahams" <david.abrahams@rcn.com>
To: <rittle@labs.mot.com>,
	"Gabriel Dos Reis" <gdr@codesourcery.com>
Cc: <gdr@codesourcery.com>,
	<gcc-bugs@gcc.gnu.org>,
	<gcc-gnats@gcc.gnu.org>
Subject: Re: libstdc++/3759: nonconforming use of unqualified std:: names
Date: Wed, 25 Jul 2001 18:20:40 -0400

 ----- Original Message -----
 From: "Gabriel Dos Reis" <gdr@codesourcery.com>
 
 > | Is my logic incorrect for citing 14.6.4?  If so, which section(s)
 > | should be cited?
 >
 > An unsopken rule which requires the library to adhere to the Principle
 > of Least Surprise.
 
 
 IMO it's the unspoken rule that the library behaves according to its
 specification (do we really need to say that? THIS STANDARD MEANS WHAT IT
 SAYS AND NOT SOMETHING ELSE). The specification does not say that if I
 define a function called fill() whose semantics don't match the standard's
 fill(), my fill funtion will be called when I try to insert into a vector,
 and the semantics of vector::insert will be changed accordingly.
 
 -Dave
 



More information about the Gcc-prs mailing list