#include <type_traits>
struct S {
void foo() {
}
};
template <typename T>
void foo(T &)
C++备忘录043:const参数传给非const模版
最新推荐文章于 2021-08-11 22:55:42 发布
#include <type_traits>
struct S {
void foo() {
}
};
template <typename T>
void foo(T &)