I think the m_bManaged is redundant. It should be removed.
- If an Object is reference-counted, it doesn’t matter if it is in a release pool or not.
- If an Object is used on the stacked, it should not be added to a release pool.
Also the m_uID member is not used anywhere. I think it can also be removed.