Empty vector::push_back()?

Benjamin Kosnik bkoz@redhat.com
Mon Feb 25 18:34:00 GMT 2002


> 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



More information about the Libstdc++ mailing list