Substitution failure is not an error: Difference between revisions

Content deleted Content added
No edit summary
fixed typo
Line 46:
 
// If the "sizeof" the result of calling test<T>(0) would be equal to the sizeof(yes),
// the first overload worked and T has a nested type named typefoobar.
static const bool value = sizeof(test<T>(0)) == sizeof(yes);
};