Boost logo

Boost :

From: Jens Theisen (jens.theisen_at_[hidden])
Date: 2005-03-22 08:34:31


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk