molpopgen / fwdpp

fwdpp is a C++ template library for implementing efficient forward-time population genetic simulations
http://fwdpp.readthedocs.io
GNU General Public License v3.0
27 stars 11 forks source link

Remove separate types for custom deleters #98

Closed molpopgen closed 6 years ago

molpopgen commented 6 years ago

fwdpp manages the memory of several GSL types via unique_ptr plus a custom deleter. Currently, the custom deleter is declared as a standalone struct, thereby introducing a type into scope that could be eliminated via the use of function pointer declarations and lambdas.