[Bug libstdc++/58764] [4.9 Regression] [lwg/2193] error: converting to ‘const std?=::vector<std::basic string<char> >=?UTF-8?Q?’ from initializer list would use explicit constructor

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 22 23:57:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58764

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
On trunk now we have separate (non-explicit) default constructors for deque,
list, vector, map, multimap, set and multiset. Debug and profile modes should
be consistent with normal mode.

We still have explicit default constructors for the C++11 containers,
forward_list and unordered_xxx, which I suggest revisiting when LWG 2193 is
resolved, but the regression is fixed.



More information about the Gcc-bugs mailing list