...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::splaydown_rollback
// In header: <boost/intrusive/splaytree_algorithms.hpp> template<typename NodeTraits> struct splaydown_rollback { // types typedef NodeTraits::node_ptr node_ptr; // construct/copy/destruct splaydown_rollback(const node_ptr *, node_ptr, node_ptr, node_ptr); ~splaydown_rollback(); // public member functions void release(); const node_ptr * pcur_subtree_; node_ptr header_; node_ptr leftmost_; node_ptr rightmost_; };