
17 Mar
2008
17 Mar
'08
10:03 a.m.
"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) And made the following changes: - I have prefixed sh::list & sh::stack with "intrusive_" - Simplified "owned_base::last" type with "std::stack<owned_base::owned_base *>" -Phil