Why no mpl::_double?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Why no mpl::_double?

Boost - Users mailing list
Hello,

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

http://www.boost.org/doc/libs/1_65_1/libs/mpl/doc/refmanual/numeric.html

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 :-)

Thanks,
Florian
_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users