Visual Studio 2013 'explicit' keyword bug?

后端 未结 2 1854
轮回少年
轮回少年 2021-02-07 02:04

Consider the following program:

#include 

class A
{
public:
  A( ) { std::cout << \"A()\\n\"; }

  A( A& ) = delete;

  A( int i ) { s         


        
2条回答
  •  一向
    一向 (楼主)
    2021-02-07 02:43

    Brought up in the VS forum:

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/af733e56-8045-4553-a9af-6555d02fc2f6/bug-in-vs-2013-support-for-explicit-conversion-operators?forum=visualstudiogeneral

    And reported it as a bug:

    http://connect.microsoft.com/VisualStudio/feedback/details/811334/bug-in-vs-2013-support-for-explicit-conversion-operators

提交回复
热议问题