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 develop branch, built from commit 43a23657d4.
PrevUpHomeNext

Struct template bucket_traits_impl

boost::intrusive::bucket_traits_impl

Synopsis

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

template<typename BucketPtr, typename SizeType> 
struct bucket_traits_impl {
  // construct/copy/destruct
  bucket_traits_impl(bucket_ptr, size_type);
  bucket_traits_impl(const bucket_traits_impl &);
  bucket_traits_impl(bucket_traits_impl &&);
  bucket_traits_impl & operator=(bucket_traits_impl &&);
  bucket_traits_impl & operator=(BOOST_COPY_ASSIGN_REF(bucket_traits_impl));

  // public member functions
  bucket_ptr bucket_begin() const;
  size_type bucket_count() const noexcept;
};

Description

bucket_traits_impl public construct/copy/destruct

  1. bucket_traits_impl(bucket_ptr buckets, size_type len);
  2. bucket_traits_impl(const bucket_traits_impl & x);
  3. bucket_traits_impl(bucket_traits_impl && x);
  4. bucket_traits_impl & operator=(bucket_traits_impl && x);
  5. bucket_traits_impl & operator=(BOOST_COPY_ASSIGN_REF(bucket_traits_impl) x);

bucket_traits_impl public member functions

  1. bucket_ptr bucket_begin() const;
  2. size_type bucket_count() const noexcept;

PrevUpHomeNext