Boost logo

Boost :

Subject: Re: [boost] [Review] Boost.Type Traits Extension by Frederic Bron
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-03-15 04:05:29


> The default void return type should probably be changed to some internal dummy type.
> This would allow to check if the return type is actually void if so desired.
>
> class dymmy_type;
>
> template < class LHS, class RHS=LHS, class RET=dymmy_type>
> has_operator_op;

I think your proposal seems reasonable and would improve the library.
I will try to see if I can implement that.
Frédéric


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