Subject: Re: [boost] [type_traits][V1.41] is_base_of<void, void> gives different results for gcc and vc
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2009-11-20 07:10:40
John Maddock wrote:
>> I just realized that is_base_of<void, void> gives different
>> results at least for gcc 4.3.2 (which evaluates this to false) and
>> (evaluates to true, as earlier versions of boost did consistently, btw).
>> This is truly a border case, but should expose consistent behavior
> Hmm.. will investigate.
> This should have been changed to C++0x behavior and return false
> throughout... John.
I suppose it may be related to differences in traits definitions
between TR1 and C++0x. Similar issue is with is_pod and others.
Here is my post about it to libstdc++
"std::is_pod vs std::tr1::is_pod and void type"
-- Mateusz Loskot, http://mateusz.loskot.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk