1 #ifndef _LV_INTRUSIVE_HPP
2 #define _LV_INTRUSIVE_HPP
23 typedef T element_type;
33 intrusive_ptr_add_ref (m_ptr);
41 intrusive_ptr_add_ref (m_ptr);
49 intrusive_ptr_add_ref (m_ptr);
63 intrusive_ptr_release (m_ptr);
125 explicit operator bool ()
const
127 return m_ptr !=
nullptr;
156 #endif // _LV_INTRUSIVE_HPP