Terje Slettebų <[EMAIL PROTECTED]> writes:

> Why would we want that? What is this useful for?

It would be useful for writing a templated implicit conversion
operator with restricted applicability via SFINAE.

SFINAE is a feature of the language which (coincidentally) allows a
technique for removing functions from the overload set based on some
compile-time computation.  This technique relies on having a return
type or parameter type to play with.  Unfortunately, implicit
conversion operators have neither.

Read all about SFINAE in Jossutis & Vandevoorde.

-- 
                       David Abrahams
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to