|
Boost Users : |
From: Swadhin Bhide (swadhinb_at_[hidden])
Date: 2008-05-20 14:13:26
Is it possible to store CBaseObject* (base class pointers) in slist, hashtable, rbtree and avl tree?
I am deriving CBaseObject from slist_base_hook, set_base_hook etc. But when using member_hook<CBaseObject*,...) and rbtree<CBaseObject*,...>, I am getting compiler errors. Boost documentation provides examples about objects and smart pointers. But can we store raw pointers in intrusive containers?
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