PrevUpHomeNext

Class template mandatory_mixin

boost::mixin::mandatory_mixin

Synopsis

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

template<typename Mixin> 
class mandatory_mixin : public boost::mixin::internal::mandatory_mixin_impl {
public:
  // construct/copy/destruct
  mandatory_mixin();
};

Description

A mutation rule for a mandatory mixin.

If active, such rule will cause every mutation to always add the mixin to an object and will ignore any attempts of a mutation to remove it.

Template Parameters

  1. typename Mixin

    The mandatory mixin type

mandatory_mixin public construct/copy/destruct

  1. mandatory_mixin();

PrevUpHomeNext