Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class rerotate_on_destroy

boost::intrusive::treap_algorithms::rerotate_on_destroy

Synopsis

// In header: <boost/intrusive/treap_algorithms.hpp>



class rerotate_on_destroy {
public:
  // construct/copy/destruct
  rerotate_on_destroy(const remove_on_destroy &);
  rerotate_on_destroy(node_ptr, node_ptr, std::size_t &);
  rerotate_on_destroy& operator=(const rerotate_on_destroy &);
  ~rerotate_on_destroy();

  // public member functions
  void release();
  const node_ptr header_;
  const node_ptr p_;
  std::size_t & n_;
  bool remove_it_;
};

Description

rerotate_on_destroy public construct/copy/destruct

  1. rerotate_on_destroy(const remove_on_destroy &);
  2. rerotate_on_destroy(node_ptr header, node_ptr p, std::size_t & n);
  3. rerotate_on_destroy& operator=(const rerotate_on_destroy &);
  4. ~rerotate_on_destroy();

rerotate_on_destroy public member functions

  1. void release();

PrevUpHomeNext