...
Anchor | ||||
---|---|---|---|---|
|
SFINAE (Substitution Failure is Not An Error) (SFINAE)
A language rule often applied by compilers the compiler during overload resolution of function involving templates. When substituting the deduced type for the template parameter In some contexts, when substituting a template type parameter fails, the specialization is discarded from the overload set instead of causing a compile error. This feature is used in template metaprogramming.
...