$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2003-01-13 07:39:12
Terje Slettebø <tslettebo_at_[hidden]> 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 dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution