This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52844] ICE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52844

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-15 09:58:06 UTC ---
Of course this is also enough:

template < class > struct V { };
template < int...Is > void f ( V < Is...>) { }
auto g ( ) -> decltype ( f ( V < long >  ( ) ) ) ;

and decltype and the late specified return type aren't essential.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]