$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-10-19 12:38:30
Peter Dimov wrote:
> I have no idea why this compiles. It shouldn't, B has two
> enable_shared_from_this<> bases, and the constructor will only
> initialize one of them. Only one of FooA and FooB works (FooA in this
> case). I'll investigate.
The code compiles on g++ and como, but neither FooA nor FooB works. Looks
like an MSVC (and Borland) bug. It would be nice if I could find a way to
make it fail at compile time instead of not working, though...