This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12261] push_back() of std::list works without argument
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2003 11:05:06 -0000
- Subject: [Bug libstdc++/12261] push_back() of std::list works without argument
- References: <20030912090434.12261.peter.klotz@aon.at>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12261
paolo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From paolo at gcc dot gnu dot org 2003-09-12 11:05 -------
Cannot reproduce with 3.3.1 (i.e., current release branch), neither
with 3.4 experimental:
paolo:~> g++ 12261.cc
12261.cc: In function `int main()':
12261.cc:7: error: no matching function for call to `std::list<std::string,
std::allocator<std::string> >::push_back()'
/usr/include/c++/3.3.1/bits/stl_list.h:746: error: candidates are: void
std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::string,
_Alloc = std::allocator<std::string>]