[Bug c++/66961] Error parsing multiple template arguments in member initializer via assignment operator
akhripin at bostondynamics dot com
gcc-bugzilla@gcc.gnu.org
Tue Jul 21 17:40:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66961
--- Comment #2 from Alex Khripin <akhripin at bostondynamics dot com> ---
Here's a more bare bones test case, for brevity's sake
template <class T1, int value> struct NumTemplate
{
NumTemplate(int) {}
};
struct Test
{
enum { SIZE_1 = 1 };
// broken :
NumTemplate<void*, SIZE_1> array1 = NumTemplate<void*, SIZE_1>(0);
};
More information about the Gcc-bugs
mailing list