Boost logo

Boost :

Subject: Re: [boost] [type traits] is_virtual_base_of causes C4250 (class inherits member via dominance) with VS 2005
From: Martin T. (0xCDCDCDCD_at_[hidden])
Date: 2010-11-06 11:14:14


On 05.11.2010 10:52, John Maddock wrote:
>> I didn't find any references to this, so I thought I'd let you know
>> that boost::is_virtual_base_of<Base, Derived> will cause (harmless)
>> C4250 when evaluating to true. (VC++ 2005)
>
> Fixed in https://svn.boost.org/trac/boost/changeset/66404.
>
> Please let us know if you find any other inheritance related warnings in
> that class!
>

Nice! I won't find any more since I only hit this warning when upgrading
some code using Boost.Serialization from 1.34.1 to 1.44 and that was the
only warning I got here.

cheers,
Martin


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