Where we've used enable_if, it has been very common that the condition
is not just a single traits lookup, but rather a logical expression,
e.g.:

template <class T, class U>
typename enable_if<is_matrix<T>::value && is_vector<U>::value,...>::type
operator*(const T& t, const U& u); 

So definitely, this version of enable_if is needed.

  Jaakko & Jeremiah

In our last exciting episode Thomas Witt wrote:
> User-Agent: KMail/1.5


> I doubt that the _c version are needed frequently enough to warrant the extra 
> types.

> Thomas

> -- 
> Dipl.-Ing. Thomas Witt
> Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
> voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
> http://www.ive.uni-hannover.de

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


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

Reply via email to