math
math copied to clipboard
Should we do a module?
Compiler support is coming along, and we have a standalone which I assume is half the work.
When I got regex standalone I started experimenting with this and msvc and concluded the support wasn't quite there yet. Have things changed?
But yes by all means lets experiment with this, maybe something near the core like the constants would be a place to start?
This page lists MSVC as fully green right now on module support. I hope this means you tried this a few months ago? Otherwise you're probably right . . .
Yes it was a good 6 months ago and things are changing fast.
I would tend to favour full module support as in:
import boost.math.constants ;
But that means quite a bit of braindead internal reorganisation I suspect.
@NAThompson A fairly easy test bed could be ccmath; it is almost entirely self-contained (only math dependency is <boost/math/tools/is_constant_evaluated.hpp>). I haven't really read into implementing modules yet, but I can pursue it if we think it's time.
Ok, looks like clang, gcc and MSVC at least have partial support. Not something to agonize over if we experience pain, but might be fun to try out and see where it goes.
See #723