我在SO上发现了几个问题和答案,涉及在编译时(通过SFINAE)检测给定类是否具有某个名称,类型或签名的成员.但是,我找不到一个也适用于静态公共成员函数(当指针到成员的技巧不起作用时).有任何想法吗?
c++ templates sfinae template-meta-programming c++11
c++ ×1
c++11 ×1
sfinae ×1
template-meta-programming ×1
templates ×1