language: C++11 (gcc-4.7.2)
date: 800 days 12 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
template <typename T>
struct X
{ /* ... */ };
 
template <typename T, typename ... U>
struct X<T(U..., ... )>
{ /* ... */};
 
template <typename T, typename ... U>
struct X<T(U... ... )>
{ /* ... */};
 
int main()
{ }
prog.cpp:10:8: error: redefinition of 'struct X<T(U ..., ...)>'
prog.cpp:7:1: error: previous definition of 'struct X<T(U ..., ...)>'