Re:Sfinae, Immediate Context, Operator
by throwxxxaway on Wednesday March 23, 2022 @01:35PM
(#30781081)
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.
[ Parent
| on HN ]