Name | Description |
---|---|
recycled [constructor] | Constructor |
~recycled [destructor] | Destructor |
Name | Description |
---|---|
recycled_ptr |
A pointer to a shared instance of T |
Instances of this type may be used to control where recycled instances of T come from when used with recycled_ptr
.
static recycled< std::string > bin;
recycled_ptr< std::string > ps( bin );
// Put the string into a known state
ps->clear();