Empty vector::push_back()?

Gabriel Dos Reis gdr@codesourcery.com
Sat Feb 23 08:53:00 GMT 2002


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



More information about the Libstdc++ mailing list