Monday, November 6, 2017

C++: SFINAE

SFINAE stands for “Substitution Failure is Not an Error”. When deducing which template function to use, if the compiler tries one template function, and if the substitution of template parameters is a problem; instead of the compiler declaring an error and stopping, the compiler tries the remaining template functions.

References:

No comments:

Post a Comment