[#9F35E92680FF498FC7690FA3D4FE3FA43C837DB4]

Class recycled_ptr

A pointer to shared instance of T

Synopsis

            template
class recycled_ptr;
        

Member Functions

Description

This is a smart pointer container which can acquire shared ownership of an instance of `T` upon or after construction. The instance is guaranteed to be in a valid, but unknown state. Every recycled pointer references a valid recycle bin.

Example

static recycled< std::string > bin; recycled_ptr< std::string > ps( bin ); // Put the string into a known state ps->clear();