
12 Dec
2009
12 Dec
'09
4:22 p.m.
Frédéric Bron wrote:
The problem is that I do not even know the function the return type I want to know because it is the result of a<b. If operator<(A,B) does not exist there may be another operator< that is still fine with appropriate convertions. So what I really want is the type of an expression, not of a function, the expression being a<b.
I fear you must resort to BOOST_TYPEOF. -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35