技术栈
sfanae
baiyu33
2 年前
c++
·
sfanae
C++模板编程 | `std::enable_if` 和 SFINAE
std::enable_if 是一个模板类:在 GCC11 (ubuntu 22.04) 下跳转定义,看到它的定义很简单: