cds
2.3.2
|
Item disposer option setter. More...
#include <cds/intrusive/options.h>
Item disposer option setter.
The option specifies a functor that is used for dispose removed items. The interface of Type
functor is:
Predefined types for Type:
opt::v::empty_disposer
- the disposer that does nothingopt::v::delete_disposer
- the disposer that calls operator delete
Usually, the disposer should be stateless default-constructible functor. It is called by garbage collector in deferred mode.