Boost logo

Boost Users :

Subject: [Boost-users] Why no mpl::_double?
From: Florian Lindner (mailinglists_at_[hidden])
Date: 2017-10-06 04:19:48


is there a reason why there are only integral types in the boost MPL, no double or alike?

What is the best way to achieve:

template<> struct getArg<Multiquadrics> : boost::mpl::double_<1e-3> {};

so that it is compatible with mpl::list?

besides just writing the struct myself :-)


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at