Explicit constructor in array of objects

后端 未结 0 1380
庸人自扰
庸人自扰 2020-12-22 10:39
struct Row
{
  Row() { puts("default"); }
  Row(const Row &other) { puts("copy"); }
  Row(Row &&other) { puts("move"); }
           


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