SFINAE(Substitution failure is not an error),是C++11以来推出的一个重要概念,这里,只是简单举一个例子,可能会有人需要. // 添加 scalar numeric conversion function,实现源自 C++ programming language(4th) // 用来防止使用static转换的时候,值发生改变 // there is no implicit conversion from Source to Target templ…