replace null_ptr<>() with nullptr
[libcds.git] / cds / details / defs.h
index f8a7e5f4dc6f0de77d2ee39d7c96a8fb420c28e6..813c7ab82b4338509d4b1963b312ba640eba561f 100644 (file)
@@ -469,16 +469,6 @@ namespace cds {
     virtual const char * what( ) const throw() { return _msg; } \
     }
 
-
-    //@cond
-    // This template function should be replaced with nullptr keyword when all compilers will support it
-    template <typename T>
-    static inline CDS_CONSTEXPR T null_ptr() CDS_NOEXCEPT
-    {
-        return reinterpret_cast<T>( NULL );
-    }
-    //@endcond
-
 } // namespace cds