boost::mixin::same_type_mutator
// In header: <boost/mixin/same_type_mutator.hpp> class same_type_mutator : public boost::mixin::internal::object_mutator { public: // construct/copy/destruct same_type_mutator(); same_type_mutator(const internal::object_type_info *); // public member functions void apply_to(object &); };
The same type object mutator mutates objects of the same type. Namely, it adds and removes mixins from objects that initially have the same mixins.
If you want to mutate many objects of the same type, using this class will make it much faster than using the single_object_mutator
multiple times.
same_type_mutator
public
construct/copy/destructsame_type_mutator();
same_type_mutator(const internal::object_type_info * info);