Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-03-22 16:25:18

"Jens Theisen" <jens.theisen_at_[hidden]> wrote in message
| 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;



Boost list run by bdawes at, gregod at, cpdaniel at, john at