why the explicit conversion function of derived class return type is not a candidate in the context of direct-initialization

前端 未结 0 855
攒了一身酷
攒了一身酷 2021-01-02 20:58

Given the following example:

#include 
struct A{
    A() = default;
    A(A const&){}
};
struct B:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题