Substitution failure is not an error: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 34:
template <typename T>
struct has_typedef_foobar {
// VariablesTypes "yes" and "no" are guaranteed to have different sizes,
// specifically sizeof(yes) == 1 and sizeof(no) == 2.
typedef char yes[1];