...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::intrusive::treap_algorithms::remove_on_destroy — @ private:
// In header: <boost/intrusive/treap_algorithms.hpp> // @ private: class remove_on_destroy { public: // construct/copy/destruct remove_on_destroy(const remove_on_destroy &); remove_on_destroy(node_ptr, node_ptr); remove_on_destroy& operator=(const remove_on_destroy &); ~remove_on_destroy(); // public member functions void release(); const node_ptr header_; const node_ptr z_; bool remove_it_; };
remove_on_destroy
public
construct/copy/destructremove_on_destroy(const remove_on_destroy &);
remove_on_destroy(node_ptr header, node_ptr z);
remove_on_destroy& operator=(const remove_on_destroy &);
~remove_on_destroy();