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

Click here to view the latest version of this page.
PrevUpHomeNext

Struct template droppable

boost::accumulators::tag::droppable

Synopsis

// In header: <boost/accumulators/framework/accumulators/droppable_accumulator.hpp>

template<typename Feature> 
struct droppable {
  // types
  typedef as_feature< Feature >::type                                                          feature_type;     
  typedef feature_type::dependencies                                                           tmp_dependencies_;
  typedef mpl::transform< typename feature_type::dependencies, as_droppable< mpl::_1 > >::type dependencies;     

  struct impl {
    template<typename Sample, typename Weight> 
    struct apply {
      // types
      typedef droppable_accumulator< typename mpl::apply2< typename feature_type::impl, Sample, Weight >::type > type;
    };
  };
};

Description


PrevUpHomeNext