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 to view this page for the latest version.
PrevUpHomeNext

Struct template droppable_accumulator_base

boost::accumulators::droppable_accumulator_base

Synopsis

// In header: <boost/accumulators/accumulators_fwd.hpp>

template<typename Accumulator> 
struct droppable_accumulator_base : public Accumulator {
  // construct/copy/destruct
  template<typename Args> droppable_accumulator_base(Args const &);
  droppable_accumulator_base(droppable_accumulator_base const &);

  // public member functions
  template<typename Args> void operator()(Args const &);
  template<typename Args> void add_ref(Args const &);
  template<typename Args> void drop(Args const &);
  bool is_dropped() const;
};

Description

droppable_accumulator_base public construct/copy/destruct

  1. template<typename Args> droppable_accumulator_base(Args const & args);
  2. droppable_accumulator_base(droppable_accumulator_base const & that);

droppable_accumulator_base public member functions

  1. template<typename Args> void operator()(Args const & args);
  2. template<typename Args> void add_ref(Args const &);
  3. template<typename Args> void drop(Args const & args);
  4. bool is_dropped() const;

PrevUpHomeNext