Substitution failure is not an error
템플릿 매개변수에 자료형이나 값을 넣을 수 없어도 오류가 발생하지 않는 상황
이를 이용한 프로그래밍 테크닉을 의미하기도
C++ SFINAE examples?
I like using SFINAE to check boolean conditions. template void div(char(*)[I % 2 == 0] = 0) { /* this is taken when I is even */ } template void div(char(*)[I % 2 == 1] = 0) { /* this is taken when I is odd */ } It can be quite useful.
https://stackoverflow.com/questions/982808/c-sfinae-examples

Seonglae Cho