Boost logo

Boost :

Subject: [boost] [type traits] is_virtual_base_of causes C4250 (class inherits member via dominance) with VS 2005
From: Martin B. (0xCDCDCDCD_at_[hidden])
Date: 2010-11-05 04:34:16


Hi!

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)

I hit this when using the BOOST_CLASS_EXPORT macro from
Boost.Serialization, as this uses is_virtual_base_of internally.

cheers,
Martin

ps: For code see: http://stackoverflow.com/q/4091166/321013


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