Sfinae, Immediate Context, Operator(cppstories.com)
cppstories.com
Sfinae, Immediate Context, Operator
https://www.cppstories.com/2022/sfinea-immediate-context/
2 comments
[deleted]
TLDR: they wrote a custom "operator <<" for printing a tuple, and got a compiler error (instead of SFINAE) when using std::tuple_size_v<T> instead of std::tuple_size<T>::value in declaration, because the compiler doesn't go inside tuple_size_v definition to find out that this is a substitution error.