Subject: Re: [boost] [type_traits] Rewrite and dependency free version
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2015-01-15 12:39:36
On 1/15/2015 11:34 AM, Peter Dimov wrote:
> Ion Gaztañaga wrote:
>> In any case with my alternative implementation you could avoid even
>> Boost.PP for manteinance and avoid all those overloads.
> My first thought when looking at is_function was also to suggest
> "is_convertible<T&,T*>", but then I saw that Ion has already got to it
> first, complete with the nullptr_t check.
This doesn't quite work as `void() const`, and any other combination of
cv and ref qualifiers, is a function type but cannot be instantiated.
-- Agustín K-ballo Bergé.- http://talesofcpp.fusionfenix.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk