“If you think it's simple, then you have misunderstood the problem.” ― Bjarne Stroustrup C++20 函数模板一个例子 阅读全文 C++20 函数模板
可变参数列的模板就是模板的参数个数不确定 基本语法形式 函数模板 template return_type function_name(arg var1, args... var2); 两个术语or概念 - parameter pack … 阅读全文 可变参数列的模板C++ Variadic Template
评论