Class recycled

A thread-safe collection of instances of T

Synopsis

template<class T>
class recycled;

Defined in file <include/boost/url/grammar/recycled.hpp> on line 73

Member Functions

Name

Description

~recycled

Destructor

recycled

Constructor

Friends

Name

Description

recycled_ptr

Description

Instances of this type may be used to control where recycled instances of T come from when used with recycled_ptr.

Example

static recycled< std::string > bin;

recycled_ptr< std::string > ps( bin );

// Put the string into a known state
ps->clear();