#include <more/recycler.h>
Inheritance diagram for more::gen::recycler:
&r
. More...&r
. More...p->~T(); new((void*)p) T;
. More...p->~T(); new((void*)p) T(x);
. More...filling_num/filling_denom
. More...
x
of type T
, x.unset_mark()
must be valid, and x.is_marked()
must be valid and return bool. x.is_marked()
shall return false
after construction of x
and after x.unset_mark()
is called. After the container has requested the client to mark all used objects, x.is_marked()
shall return true iff the object is referred to by the client. Note that also the copy assignment of T shall preserve the mark bit, i.e. it shall not copy it.
mark_all
argument to the ctor. Also, see if this class can be isolated from this file, for more general application.
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from more::gen::recycler_base. |
|
|
|
Construct a new recycler.
|
|
Returns
|
|
Returns
|
|
Return an object which is no longer in use.
Note that it may contain and old value, so is may be necessary to clear it. This can be done by assigning a new value using |
|
Does
|
|
Does
|
|
Does nothing.
|
|
Does nothing.
|
|
|
|
Returns 1.
|
|
|
|
The filling of chunks before GC is about This is a compile-time option which must be set in the source code. |
|
|