Content deleted Content added
Two fixes: 1) Use consistent plurality, and 2) remove apostrophe from possessive "its". |
|||
Line 66:
</source>
When <code>T</code> has the nested type <code>type</code> defined, the instantiation of the first <code>test</code> works and 0 is successfully passed as the null pointer constant. (And the resulting type of the expression is <code>yes</code>.) If it does not work, the only available function is the second <code>test</code>, and the resulting type of the expression is <code>no</code>. (
Developers of [[Boost C++ Libraries|Boost]] used SFINAE to great effect in boost::enable_if<ref name="enable_if">[http://www.boost.org/doc/libs/release/libs/utility/enable_if.html Boost Enable If]</ref> and in other ways.
|