25 Feb
2016
25 Feb
'16
3:22 a.m.
On 2016-02-24 8:36 AM, Phil Bouchard wrote:
I get a few errors as well. I am not sure which API gets it wrong.
Ok I was able to fix the compilation, now I got run-time problems... 1) But I had to comment the default constructor of list_node public: template <class T, class VoidPointer> struct list_node : public list_hook<VoidPointer>::type { //private: //list_node(); [...] I am not sure why this constructor was made private. 2) Once again I would pass the pointer parameters as references 3) BTW for intrusive list I would copy my implementation where hook destructors modify the pointers: https://github.com/philippeb8/block_ptr/blob/master/include/boost/detail/int... My 2 cents, -Phil