Closed kwabenantim closed 6 months ago
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);
Closing as moved to https://github.com/Chaste/cppwg/issues/30
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
into this