This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36236] ICE with forwarding variadic function template in class template
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Dec 2008 04:50:13 -0000
- Subject: [Bug c++/36236] ICE with forwarding variadic function template in class template
- References: <bug-36236-16183@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 04:50 -------
Reduced testcase:
template<typename ... _Tp> int forward(int&& __t);
template <typename ... T> int foo(T...);
template< int=0 >
class forwarded_foo
{
template< typename ... Param >
decltype( foo( forward< Param >( 1 )... ) )
operator ()( Param&&... arg ) const;
};
forwarded_foo<> bar;
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-12-28 04:50:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36236