------- Comment #7 from paolo dot carlini at oracle dot com 2010-05-04 16:50 ------- This is enough:
namespace std
{
template<class _E> class initializer_list { };
}
struct string { string(std::initializer_list<char>) { } };
void f() {
auto y =
{
string(Equation())
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028
