Typedef fwdpp::traits::mutation_model

Typedef Documentation

using fwdpp::traits::mutation_model = typename traits::internal::mutation_model<MutationContainerType>::type

Gives the mutation model function signature corresponding to MutationContainerType. Applies to mutation policies that only take recycling bins and MutationContainerType as arguments.

If MutationContainerType is not a container of mutations, then MutationModel will evaulate to void.

Otherwise, it will evaluate to std::function<std::size_t(recycling_bin_t<MutationContainerType> &,MutationContainerType &)>;