[Bug libstdc++/58764] [lwg/2193] error: converting to ‘const std?=::vector<std::basic string<char> >=?UTF-8?Q?’ from initializer list would use explicit constructor
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 17 09:01:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58764
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |SUSPENDED
Last reconfirmed| |2013-10-17
Summary|error: converting to ‘const |[lwg/2193] error:
|std::vector<std::basic_stri |converting to ‘const
|ng<char> >’ from |std::vector<std::basic_stri
|initializer list would use |ng<char> >’ from
|explicit constructor |initializer list would use
| |explicit constructor
Ever confirmed|0 |1
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
At present, 4.9 is conforming to C++11 and 4.8 is not. In general this is
tracked in http://cplusplus.github.io/LWG/lwg-active.html#2193 and as you can
see there are clear issues with the separate non-explicit default constructor
vs explicit instantiations.
More information about the Gcc-bugs
mailing list