namespace lost when processing variadic (?) template parameters - by Bengt Gustafsson

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 782026 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 3/25/2013 6:26:31 AM
Access Restriction Public


In the example code I get an error message that ref_ptr is unknown, but osg::ref_ptr is what I refered to, the osg:: is dropped during parsing. This can have to do with the fact that the template parameter is also inside osg namespace. I have not determined if this is specific to variadic class templates but I woudl guess that if it was a general error it would have been caught by your tests.

Note that the code compiles if the using directive is uncommented.

Also take my word for it that TypeSet works for many other classes and even with many template parameters.
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:29 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from:
Posted by Microsoft on 3/26/2013 at 8:21 AM
Hi Bengt:
    Thanks for reporting the issue (it is actually reported many times on Connect).
    A fix for this issue has been checked into the compiler sources. The fix should show up in the next release of Visual C++.

Xiang Fan
Visual C++ Team
Posted by Microsoft on 3/25/2013 at 7:58 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 3/25/2013 at 6:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(