
"Jens Theisen" <jens.theisen@transversal.com> wrote in message news:d1p6ou$4b4$1@sea.gmane.org... | Thorsten Ottosen wrote: | > Hm.. yeah, I thought something like | | > operator typename enable_if< is_same<T,int>, int>::type() | > { | > | > would work. | | I doubt that, because it should be impossible to deduce the type. | | If anyone know of a trick to do a SNIFAE in a conversion operators, or | knows that it is not possible, we would like to hear. it seems that several people would like <boost/std_forward.hpp>; I think Eric Niebler has already made one for his range_ex stuff. Given this, wouldn't we be able to make all the relevant conversion funcitions like template< class T, A > operator std:vector<T,A>() const; ? -Thorsten