Substitution failure is not an error: Difference between revisions

Content deleted Content added
Filipaxrt (talk | contribs)
valid return for main
Filipaxrt (talk | contribs)
Line 22:
f<int>(10); // Call #2. Without error (even though there is no int::foo)
// thanks to SFINAE.
return 0;
}
</syntaxhighlight>