
17 Mar
2008
17 Mar
'08
4:02 p.m.
AMDG Phil Bouchard wrote:
"Steven Watanabe" <watanabesj@gmail.com> wrote in message news:47D9554B.9000003@providere-consulting.com...
[...]
roofof /does/ use undefined behavior. You can't just go dereferencing the null pointer...
((T *)(0)->* q)
Until offsetof() gets standardized: - I have changed the code for the following: ((T *)(alignment_of<detail::max_align>::value)->* q)
How is that better?
And made the following changes: - I have prefixed sh::list & sh::stack with "intrusive_"
You might look at Boost.Intrusive In Christ, Steven Watanabe