From: David Abrahams (dave_at_[hidden])
Date: 2005-03-22 09:39:39
Jens Theisen <jens.theisen_at_[hidden]> writes:
> 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.
I think the enable_if docs make it quite clear that it can't be done.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk