Move semantics and function order evaluation

前端 未结 3 1066
心在旅途
心在旅途 2020-12-13 08:48

Suppose I have the following:

#include 
struct A { int x; };

class B {
  B(int x, std::unique_ptr a);
};

class C : public B {
  C(st         


        
3条回答
提交回复
热议问题