Boost logo

Boost :

Subject: Re: [boost] bug in type_traits/is_virtual_base_of ??
From: John Maddock (john_at_[hidden])
Date: 2010-02-11 04:43:40

> Using boost 1_41 I found what I believe to be a bug in is_virtual_base_of.
> The following code reports that A and B are both virtual base classes of

Works for me on Win32 with both VC9 and G++4.0, tested 1.41 and current

The only thing I notice is that you're passing a bool to printf, but telling
it to expect an int - could it be reading garbage off the stack?

Otherwise stumped yours, John.

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