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()?



> 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


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