[Bug c++/40942] GCC accepts code that Comeau and MSVC deems invalid.
bangerth at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 25 13:25:00 GMT 2009
------- Comment #2 from bangerth at gmail dot com 2009-08-25 13:24 -------
Why would this be ambiguous? A string literal has type "array of n const char"
(see 2.13.4/1), so it should go with the array constructor. Do you disagree?
W.
--
bangerth at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40942
More information about the Gcc-bugs
mailing list