
on Tue Mar 11 2008, "Phil Bouchard" <philippe-AT-fornux.com> wrote:
"Steven Watanabe" <watanabesj@gmail.com> wrote in message news:47D549EE.6050303@providere-consulting.com...
[...]
If I remember correctly from the Intrusive review, virtual inheritance can make roofof blow up.
Unfortunately, yes. I would be possible adding a BOOST_STATIC_ASSERT the resulting pointer address is lesser than the member variable inside the function but obviously this will not be portable.
If I understand correctly, none of this code is technically portable; it is only "portable in practice" because of the way C++ is commonly implemented. Is that correct? It's not necessarily an argument against these proposals, but all Boost library submissions should be very clear about where they rely on unspecified or undefined behavior. -- Dave Abrahams Boost Consulting http://boost-consulting.com