This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/42261] infinite recursion from string(string::size_type(6), string::size_type('f'))
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2009 17:41:21 -0000
- Subject: [Bug libstdc++/42261] infinite recursion from string(string::size_type(6), string::size_type('f'))
- References: <bug-42261-2228@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from paolo dot carlini at oracle dot com 2009-12-10 17:41 -------
Actually, DR 1234 reminds me that probably the status quo isn't correct either,
uniformly across 21 (string) and 23 (containers), because the current WP
wording says explicitly *which* constructor must be called instead, thus we
probably want to add all the casts needed in order for that to happen "as-if".
Looking into it...
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42261