...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::exception_bucket_disposer
// In header: <boost/intrusive/hashtable.hpp> template<typename Bucket, typename Algo, typename Disposer, typename SizeType> class exception_bucket_disposer { public: // private member functions exception_bucket_disposer(const exception_bucket_disposer &); exception_bucket_disposer & operator=(const exception_bucket_disposer &); // public member functions exception_bucket_disposer(Bucket &, Disposer &, const SizeType &); void release(); ~exception_bucket_disposer(); };