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 a snapshot of the master branch, built from commit 68cc668162.
PrevUpHomeNext

Struct template hashtable_size_wrapper

boost::intrusive::hashtable_size_wrapper

Synopsis

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

template<typename DeriveFrom, typename SizeType, bool > 
struct hashtable_size_wrapper : public DeriveFrom {
  // types
  typedef unspecified         size_traits;        
  typedef const size_traits & size_traits_const_t;
  typedef size_traits &       size_traits_t;      

  // construct/copy/destruct
  template<typename Base, typename Arg0, typename Arg1, typename Arg2> 
    hashtable_size_wrapper(BOOST_FWD_REF(Base), BOOST_FWD_REF(Arg0), 
                           BOOST_FWD_REF(Arg1), BOOST_FWD_REF(Arg2));
  hashtable_size_wrapper(hashtable_size_wrapper &&);

  // public member functions
  SizeType get_hashtable_size_wrapper_size() const;
  void set_hashtable_size_wrapper_size(SizeType);
  void inc_hashtable_size_wrapper_size();
  void dec_hashtable_size_wrapper_size();
  size_traits_t priv_size_traits();

  // public data members
  size_traits size_traits_;
};

Description

hashtable_size_wrapper public construct/copy/destruct

  1. template<typename Base, typename Arg0, typename Arg1, typename Arg2> 
      hashtable_size_wrapper(BOOST_FWD_REF(Base) base, BOOST_FWD_REF(Arg0) arg0, 
                             BOOST_FWD_REF(Arg1) arg1, BOOST_FWD_REF(Arg2) arg2);
  2. hashtable_size_wrapper(hashtable_size_wrapper && other);

hashtable_size_wrapper public member functions

  1. SizeType get_hashtable_size_wrapper_size() const;
  2. void set_hashtable_size_wrapper_size(SizeType s);
  3. void inc_hashtable_size_wrapper_size();
  4. void dec_hashtable_size_wrapper_size();
  5. size_traits_t priv_size_traits();

PrevUpHomeNext