What constructor is called on temporary object?

后端 未结 0 1972
栀梦
栀梦 2020-12-04 00:56

What constructor is called when initialising with temporary object?

#include
class Test{
    public:
    int a;
    Test(){
        std::cout&         


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