Boost logo

Boost :

From: Phil Bouchard (philippe_at_[hidden])
Date: 2008-03-14 15:39:09


"Steven Watanabe" <watanabesj_at_[hidden]> wrote in message
news:47D9554B.9000003_at_providere-consulting.com...

[...]

> roofof /does/ use undefined behavior.
> You can't just go dereferencing the null pointer...
>
> ((T *)(0)->* q)

I heard offsetof() was going to be part of the next standards and that a POD
will be redefined to allow non-virtual inheritances. I will change that
portion of the code accordingly.

-Phil


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk