PrevUpHomeNext

Class template substitute_mixin

boost::mixin::substitute_mixin

Synopsis

// In header: <boost/mixin/common_mutation_rules.hpp>

template<typename SourceMixin, typename TargetMixin> 
class substitute_mixin : public boost::mixin::internal::substitute_mixin_impl {
public:
  // construct/copy/destruct
  substitute_mixin();
};

Description

A mutation rule for a substitute mixin.

If active, such rule will cause any mutation that tries to add SourceMixin to instead add TargetMixin.

Template Parameters

  1. typename SourceMixin

    The mixin type to be substituted

  2. typename TargetMixin

    The mixin type that is the substitute

substitute_mixin public construct/copy/destruct

  1. substitute_mixin();

PrevUpHomeNext