This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Empty vector::push_back()?
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 25 Feb 2002 17:49:06 -0800 (PST)
- Subject: Re: Empty vector::push_back()?
> What is your take?
Some kind of comment seems mandatory. Nathan's suggestion seems fine.
We could use this:
#ifdef _GLIBCPP_DEPRECATED
push_back
#endif
That way people could still compile stuff via
g++ -D_GLIBCPP_DEPRECATED
but it wouldn't get in the way for other people.
-benjamin