Substitution failure is not an error: Difference between revisions

Content deleted Content added
typo: second "int" corrected to "foo" by analogy with previous examples.
Line 103:
std::cout << std::boolalpha;
std::cout << std::is_detected<has_typedef_foobar_t, int>::value << std::endl;
std::cout << std::is_detected<has_typedef_foobar_t, intfoo>::value << std::endl;
}
</source>