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]
Other format: [Raw text]

Re: Empty vector::push_back()?


On Tue, Feb 26, 2002 at 02:26:49AM +0100, Gabriel Dos Reis wrote:
> Benjamin Kosnik <bkoz@redhat.com> writes:
> 
> | > I dunno :-)
> | 
> | > It isn't standard.
> | 
> | Maybe it should be removed then?
> 
> I contemplated that possibility, but I can't anticipate the amount of
> code that will break and the impact it will have. On the other hand, I
> find Phil's idea of having a hook into the diagnostic machinery
> attractive -- even though I think we should not abuse of it.  
> 
> What is your take?

Make it private, and then if you actually want to use it,
edit the header file and make it public. ;)
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com


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