|
Boost : |
Subject: Re: [boost] How to detect if f() returns void or not?
From: joel falcou (joel.falcou_at_[hidden])
Date: 2009-12-12 11:22:29
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk