Added stripped classes for uRCU implementations
[libcds.git] / cds / urcu / details / gpi.h
index 92db8f36a28b6a6c7d6891e93ce5ab84baab7590..7abbfb3916100d1f857d59e864091706c1071fe4 100644 (file)
@@ -101,6 +101,7 @@ namespace cds { namespace urcu {
         //@cond
         general_instant()
         {}
+
         ~general_instant()
         {}
 
@@ -191,6 +192,17 @@ namespace cds { namespace urcu {
         //@endcond
     };
 
+    /// User-space general-purpose RCU with immediate reclamation (stripped version)
+    /**
+        @headerfile cds/urcu/general_instant.h
+
+        This short version of \p general_instant is intended for stripping debug info.
+        If you use \p %general_instant with default template arguments you may use
+        this stripped version. All functionality of both classes are identical.
+    */
+    class general_instant_stripped: public general_instant<>
+    {};
+
 }} // namespace cds::urcu
 
 #endif // #ifndef CDSLIB_URCU_DETAILS_GPI_H