Internal compiler error while expanding parameter pack - by sw6ueyz

Status : 

 


1
0
Sign in
to vote
ID 797259 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 8/13/2013 10:25:28 AM
Access Restriction Public

Description

// this code generates internal compiler error

template< class ... >
struct Base {};

template< class ... _Types >
struct Test
	: Base<
		Base< _Types& > ...
	> {};


int main()
{
	Test< int > t;
	return 0;
}
Sign in to post a comment.
Posted by Microsoft on 1/6/2014 at 7:05 AM
Hi: a fix for this issue has been checked into the compiler sources. The fix should show up in a future release of Visual C++.

Thanks
Jonathan Caves
Visual C++ Compiler Team
Posted by Microsoft on 8/13/2013 at 8:27 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 8/13/2013 at 10:52 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)