$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-03-17 12:02:32
AMDG
Phil Bouchard wrote:
> "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)
>>
>
> 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