Substitution failure is not an error: Difference between revisions

Content deleted Content added
Example: Insert missing "the"
Alendit (talk | contribs)
Example: Changed call argument from 0 to nullptr as it is a pointer.
Tags: Mobile edit Mobile web edit
Line 47:
// If the "sizeof" of the result of calling test<T>(0) would be equal to sizeof(yes),
// the first overload worked and T has a nested type named foobar.
static const bool value = sizeof(test<T>(0nullptr)) == sizeof(yes);
};