
cast the bool to an int, still does not work. It works for most cases, for example this works: struct C : public A, public B { virtual test(); // } struct C : public A, public B { virtual test(); float parameter; // DOESN"T WORK ANY MORE }; On Feb 11, 2010, at 4:43 AM, John Maddock wrote:
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 Trunk.
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. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost