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


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.


ps: For code see:

Boost list run by bdawes at, gregod at, cpdaniel at, john at