
18 May
2008
18 May
'08
12:39 p.m.
Christian Holmquist wrote:
fails to compile due to n->next_ points to void* and not node*. is it safe to use static_cast<node*>(n->next_) here?
Sorry for the late reply. Why is n->next_ void*? It should be node*. Anyway, it would be safe to cast it. I attach here the legacy_value example but with an additional pointer_plus_bit trick.
BI is a great lib by the way, the most inspiring addition to boost in 1.35 (although I've been using it from trunk for quite a while)!
Thanks. If you have suggestions to improve the library, please let me know. Regards, Ion