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 templated wrappers #41

Closed
kwabenantim opened this issue Sep 10, 2023 · 1 comment
Closed

Use templated wrappers #41

kwabenantim opened this issue Sep 10, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request long term Non-urgent issue that needs solving eventually

Comments

@kwabenantim
Copy link
Member

kwabenantim commented Sep 10, 2023

Description

Use templating to reduce number of generated wrapper files. Many wrappers only vary in template arguments and the rest of the code is exactly the same.

Aim to refactor this

register_AbstractCellPopulation2_2_class(m);
register_AbstractCellPopulation3_3_class(m);

into this

register_AbstractCellPopulation_class<2, 2>(m);
register_AbstractCellPopulation_class<3, 3>(m);
@kwabenantim kwabenantim added the enhancement New feature or request label Sep 10, 2023
@kwabenantim kwabenantim self-assigned this Sep 10, 2023
@kwabenantim kwabenantim added the long term Non-urgent issue that needs solving eventually label Oct 12, 2023
@kwabenantim
Copy link
Member Author

Closing as moved to Chaste/cppwg#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request long term Non-urgent issue that needs solving eventually
Projects
None yet
Development

No branches or pull requests

1 participant