Why should I avoid std::enable_if in function signatures
问题 Scott Meyers posted content and status of his next book EC++11. He wrote that one item in the book could be \"Avoid std::enable_if in function signatures\" . std::enable_if can be used as a function argument, as a return type or as a class template or function template parameter to conditionally remove functions or classes from overload resolution. In this question all three solution are shown. As function parameter: template<typename T> struct Check1 { template<typename U = T> U read