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

Streamline type traits #82

Closed molpopgen closed 6 years ago

molpopgen commented 6 years ago

This PR tidies up the namespace KTfwd::traits::internal. The main goal is to get rid of use of std::conditional, which makes the SFINAE logic too hard to read. The changes also pre-adapt the traits sub-library for #80.