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

named_type constructor is suppressing moves #336

Open molpopgen opened 3 years ago

molpopgen commented 3 years ago

A clang-tidy audit of fwdpy11 (performance-*) caught this.

Need to fix the && constructor and add tests that moveable inputs are indeed moved.