Home Dashboard Directory Help
Search

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


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 782026
Opened: 3/25/2013 6:26:31 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

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.
Details
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: http://go.microsoft.com/?linkid=9832436
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(http://support.microsoft.com)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
bug10_12.cpp 3/25/2013 451 bytes