|
Boost : |
Subject: Re: [boost] [type_traits][parameter] Inconsistent boost::is_convertible between gcc and clang
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-08-12 00:55:15
Michel Morin wrote:
> One note:
> The above code cannot deal with `boost::is_convertible<Func, Func&>`,
> where `Func` is a function type in a C++03 mode.
> This results in a compiler error. (In a C++11 mode, it returns true_type.)
> `boost::is_convertible<void, void>` results in a compiler error in both
> C++03 and C++11 modes.
Oops, `boost::is_convertible<void, void>` (with the proposed fix) works fine
in both C++03 and C++11 modes.
Regards,
Michel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk