This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53862] New: [GCC 4.7.1] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: "likan_999.student at sina dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Jul 2012 08:47:04 +0000
- Subject: [Bug c++/53862] New: [GCC 4.7.1] sorry, unimplemented: use of 'type_pack_expansion' in template
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53862
Bug #: 53862
Summary: [GCC 4.7.1] sorry, unimplemented: use of
'type_pack_expansion' in template
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: likan_999.student@sina.com
The following code is complained by gcc 4.7.1:
[hidden]$ cat c.cpp
#include <type_traits>
using namespace std;
template <size_t N, typename... Args>
void f(Args...) {}
template <size_t N, typename T, typename... Args>
typename enable_if<is_scalar<T>::value, void>::type f(T, Args...) {}
int main() {
f<1>(1);
}
[hidden]$ g++ -std=gnu++11 c.cpp
c.cpp: In function 'int main()':
c.cpp:12:11: sorry, unimplemented: use of 'type_pack_expansion' in template
All "Possible Duplicates" shown to me are in "RESOLVED FIXED" status, but
sorry, looks like not fixed yet. This needs to get some attention otherwise
this long standing bugs won't be fixed soon.
- Follow-Ups:
- [Bug c++/53862] [GCC 4.7.1] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: likan_999.student at sina dot com
- [Bug c++/53862] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: pinskia at gcc dot gnu.org
- [Bug c++/53862] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: likan_999.student at sina dot com
- [Bug c++/53862] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: likan_999.student at sina dot com
- [Bug c++/53862] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: daniel.kruegler at googlemail dot com
- [Bug c++/53862] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: redi at gcc dot gnu.org
- [Bug c++/53862] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: paolo.carlini at oracle dot com
- [Bug c++/53862] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: paolo.carlini at oracle dot com
- [Bug c++/53862] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: jason at gcc dot gnu.org
- [Bug c++/53862] [4.6/4.7 regression] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: jason at gcc dot gnu.org
- [Bug c++/53862] [4.6/4.7 regression] [C++11] sorry, unimplemented: use of 'type_pack_expansion' in template
- From: jason at gcc dot gnu.org