Questions tagged as 'sfinae'

1
answer

Doubt about SFINAE

How the compiler resolves the case in which it can substitute more than one template and does not give ambiguity using the SFINAE principle. #include <stdio.h> #include <iostream> template<typename T, typename U> U cast(T x)...
asked by 09.10.2018 / 15:52