摘要:
c++11 // #pragma once #include <iostream> #include <thread> #include <memory> #include <vector> #include <queue> #include <functional> // std:;functio 阅读全文
posted @ 2023-04-26 17:38
小小灰迪
阅读(34)
评论(0)
推荐(0)
摘要:
cppreference解释地址。 模板参数包在模板参数中的顺序要求: 在主类模板中,模板参数包必须是模板参数列表中的最后一个参数。 在函数模板中,模板参数包可能出现在列表的前面,前提是以下所有参数都可以从函数参数中推导出来,或者具有默认参数: template < typename U, type 阅读全文
posted @ 2023-04-26 17:14
小小灰迪
阅读(619)
评论(0)
推荐(0)