Skip to content

Should we do a module? #681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
NAThompson opened this issue Aug 30, 2021 · 6 comments
Open

Should we do a module? #681

NAThompson opened this issue Aug 30, 2021 · 6 comments

Comments

@NAThompson
Copy link
Collaborator

Compiler support is coming along, and we have a standalone which I assume is half the work.

@jzmaddock
Copy link
Collaborator

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?

@NAThompson
Copy link
Collaborator Author

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 . . .

@jzmaddock
Copy link
Collaborator

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.

@mborland
Copy link
Member

mborland commented Sep 5, 2021

@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.

@NAThompson
Copy link
Collaborator Author

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.

@mborland
Copy link
Member

See #723

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants