
22 Mar
2005
22 Mar
'05
1:34 p.m.
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. Jens