Replace NULL with nullptr
[libcds.git] / cds / gc / ptb_decl.h
index 790d5858c6c15f4e85d34a3402b59caaa7f26dea..175e9064f1f30152cdbcbd7f7ae7e95f59589c45 100644 (file)
@@ -224,6 +224,13 @@ namespace cds { namespace gc {
                 return base_class::operator =(p);
             }
 
+            //@cond
+            std::nullptr_t assign( std::nullptr_t )
+            {
+                return base_class::operator =(nullptr);
+            }
+            //@endcond
+
             /// Store marked pointer \p p to the guard
             /**
                 The function equals to a simple assignment of <tt>p.ptr()</tt>, no loop is performed.