Substitution failure is not an error: Difference between revisions

Content deleted Content added
Wayword (talk | contribs)
Added what the output is to the second example
Line 56:
int main() {
std::cout << std::boolalpha;
std::cout << has_typedef_foobar<int>::value << std::endl; // Prints false
std::cout << has_typedef_foobar<foo>::value << std::endl; // Prints true
}
</source>