This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/33930] [c++0x] ambiguous overload in std::stack::push() when using --std=cxx0x
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2007 23:56:03 -0000
- Subject: [Bug libstdc++/33930] [c++0x] ambiguous overload in std::stack::push() when using --std=cxx0x
- References: <bug-33930-14817@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pcarlini at suse dot de 2007-10-30 23:56 -------
You are right. I'm investigating the issue with the help of knowledgeable
people in this area, we should be able to resolve it rather quickly. A possible
"solution", which would essentially render the issue moot, is replacing the two
overloads with a single "emplace" overload, as per n2369 in the sequence
containers. We'll see...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33930