Boost logo

Boost :

Subject: Re: [boost] [type_traits][V1.41] is_base_of<void, void> gives different results for gcc and vc
From: John Maddock (john_at_[hidden])
Date: 2009-11-20 07:20:45


>>> I just realized that is_base_of<void, void> gives different
>>> (inconsistent)
>>> results at least for gcc 4.3.2 (which evaluates this to false) and
>>> vc2005sp1
>>> (evaluates to true, as earlier versions of boost did consistently, btw).
>>> This is truly a border case, but should expose consistent behavior
>>> anyways.
>>
>> Hmm.. will investigate.

Do you have a test case for this - I added an explicit test case for
is_base_of<void, void> to the type_traits tests, and they're passing for me
with both msvc-8/9 and gcc-4.x.

Thanks, John.


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