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 04:58:11


> 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.

This should have been changed to C++0x behavior and return false
throughout... John.


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