Boost logo

Boost Users :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-05-18 14:39:40


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




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net