//$$CDS-header$$
-#ifndef __CDS_URCU_EXEMPT_PTR_H
-#define __CDS_URCU_EXEMPT_PTR_H
+#ifndef CDSLIB_URCU_EXEMPT_PTR_H
+#define CDSLIB_URCU_EXEMPT_PTR_H
#include <type_traits>
#include <cds/details/defs.h>
- \p NodeType - container's node type
- \p ValueType - value type stored in container's node. For intrusive containers it is the same as \p NodeType
- \p Disposer - a disposer functor
- - \p Cast - a functor for casting from \p NodeType to \p ValueType. For intrusive containers
+ - \p Cast - a functor for casting from \p NodeType to \p ValueType. For intrusive containers
the casting is usually disabled, i.e. \p Cast is \p void.
*/
template <
/// The exempt pointer is not copy-constructible
exempt_ptr( exempt_ptr const& ) = delete;
- /// Releases the pointer
+ /// Releases the pointer, see \p release()
~exempt_ptr()
{
release();
};
}} // namespace cds::urcu
-#endif //#ifndef __CDS_URCU_EXEMPT_PTR_H
+#endif //#ifndef CDSLIB_URCU_EXEMPT_PTR_H