[Codename Milan] Regression making function operator public with using statement - by Erik Olofsson

Status : 

 


1
0
Sign in
to vote
ID 771533 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 11/18/2012 9:12:02 AM
Access Restriction Public

Description

class CTestBase
{
protected:
 void operator () ()
 {
 }
 void f_Test()
 {
 }
};

class CTest : protected CTestBase
{ 
public:
 using CTestBase::operator ();
 using CTestBase::f_Test;
};

int _tmain(int argc, _TCHAR* argv[])
{
 CTest Test;
 Test.f_Test(); // Works
 Test(); // Does not work
 return 0;
}
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:22 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 12/20/2012 at 5:07 PM
Hi Erik:
    Thanks for reporting the issue.
    A fix for this issue has been checked into the compiler sources. The fix should show up in the next release of Visual C++.

Visual C++ Team
Posted by Microsoft on 11/21/2012 at 10:56 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 Erik Olofsson on 11/19/2012 at 12:24 AM
This is with Visual C++ Compiler Nov 2012 CTP (Codename Milan)
Posted by Microsoft on 11/19/2012 at 12:03 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting a video. Please submit this information to us within 4 business days. We look forward to hearing from you with this information.
************************************************************
Please zip the file and use "FeedbackID-XXXXXX" as prefix of the file name.
************************************************************
You can use the following workspace to upload the file by IE: https://sftus.one.microsoft.com/choosetransfer.aspx?key=9415c965-6590-4d5f-8331-614ff9c106df
Password: Z1_)G37MTk
Thanks again for your efforts and we look forward to hearing from you.
Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 11/18/2012 at 9: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)