Major merge from 'dev'
[libcds.git] / cds / gc / nogc.h
1 //$$CDS-header$$
2
3 #ifndef CDSLIB_GC_NOGC_H
4 #define CDSLIB_GC_NOGC_H
5
6 namespace cds { namespace gc {
7
8     /// No garbage collecting
9     /**  @ingroup cds_garbage_collector
10         This empty class is used in \p libcds to mark that a template specialization implements
11         the container without any garbage collector schema.
12
13         Usually, the container with this "GC" does not support the item removal.
14     */
15     class nogc
16     {
17     public:
18         //@cond
19         /// Faked scan
20         static void scan()
21         {}
22         static void force_dispose()
23         {}
24         //@endcond
25     };
26
27 }}  // namespace cds::gc
28
29 #endif // #define CDSLIB_GC_NOGC_H