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

Brace initialization during recycling #101

Closed molpopgen closed 5 years ago

molpopgen commented 6 years ago

Recycling code assumes that all objects have explicitly defined constructors:

If #100 is enacted, then not all valid types will necessarily have constructors defined. Thus, we should use brace initialization here and update the relevant policy documentation regarding how parameter forwarding works.

molpopgen commented 5 years ago

It seems unrealistic to define any useful mutation type that doesn't have a constructor. Closing for now.