摘要: 起因:在使用enable_if时,发现,enable_if<std::is_xxx<T>::value>::type,并没有传递第二个参数,那么第二个参数怎么确定为void类型。 template <bool, typename T = void> struct enable_if{ }; temp 阅读全文
posted @ 2021-05-18 14:21 jernia 阅读(263) 评论(0) 推荐(0) 编辑