c++11 decay/decltype/declval
摘要:decay std::decay对类型进行退化处理。 T为数组U或数组U引用,则type为U*. T为函数时,则type为std::add_pointer::type. 其它类型则移除cv限定符(const和volatile),则type为std::remove_cvstd::remove_refe
阅读全文
posted @ 2022-04-28 10:53
posted @ 2022-04-28 10:53