摘要: #include <vector> #include <stdio.h> struct X : public std::vector<int> { void print() const { printf("%p ", this); } }; void fn1(X x) { x.print(); } 阅读全文
posted @ 2021-12-14 07:03 华容道专家 阅读(90) 评论(0) 推荐(0)