Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use type traits! #300

Open
molpopgen opened this issue Nov 8, 2020 · 0 comments
Open

Use type traits! #300

molpopgen opened this issue Nov 8, 2020 · 0 comments

Comments

@molpopgen
Copy link
Owner

We have a nice type traits infrastructure that isn't being fully exploited. For example, fwdpp/mutate_recombine.hpp could check is_mutation_model_v and is_rec_model_v. We can probably also push such assertions further up the call chain, too. For example, is fwdpp/ts/generate_offspring.hpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant