| Home | Libraries | People | FAQ | More

## 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