[Bug c++/58753] Brace-initializing a vector with a direct-initialization NSDMI doesn't work in a template
ville.voutilainen at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 16 22:14:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58753
--- Comment #3 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
And, the struct X is not significant, but I tested with just a simple
type that can be brace-initialized, and that didn't trigger the error.
I haven't yet narrowed it down to initializer_list or anything like that,
vector seems to be a surefire way to trigger it.
More information about the Gcc-bugs
mailing list