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


Craig Rodrigues <rodrigc@attbi.com> writes:

| Hi,
| 
| Why does libstdc++-v3 have a vector::push_back()
| function which takes no arguments?

I dunno :-)

| I can't find it mentioned in 23.2.4 [lib.vector]
| of the C++ Standard.

It isn't standard.

| Is this an extension?

Ann undocumented one.

| This was brought up by a user in PR 5734:
| http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&database=gcc&pr=5734 

Yes, we discussed the issue recently.

-- Gaby


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