C++之可变模板参数打印及Pari的逐块式构造(Piecewise Construction)
摘要:
class Foo { public: Foo(tuple<int, double>) { cout << "Foo(tuple<int, double>)"<< endl; } template <typename T> void print(T t) { cout << t << endl; } 阅读全文
posted @ 2022-10-11 10:25 奔跑吧,蜗牛! 阅读(88) 评论(0) 推荐(0) 编辑