r/cpp • u/mborland1 • Mar 05 '26
Boost.Multi Review Begins Today
The review of Multi by Alfredo Correa for inclusion in Boost begins today, March 5th and goes through March 15th, 2026.
Multi is a modern C++ library that provides manipulation and access of data in multidimensional arrays for both CPU and GPU memory.
Code: https://github.com/correaa/boost-multi
Docs: https://correaa.github.io/boost-multi/multi/intro.html
For reviewers, please use the master branch.
Please provide feedback on the following general topics:
- What is your evaluation of the design?
- What is your evaluation of the implementation?
- What is your evaluation of the documentation?
- What is your evaluation of the potential usefulness
of the library? Do you already use it in industry?
- Did you try to use the library? With which compiler(s)? Did
you have any problems?
- How much effort did you put into your evaluation?
A glance? A quick reading? In-depth study?
- Are you knowledgeable about the problem domain?
Ensure to explicitly include with your review: ACCEPT, REJECT, or CONDITIONAL ACCEPT (with acceptance conditions).
Additionally, if you would like to submit your review privately, which I will anonymize for the review report, you may DM it to me.
Matt Borland
Review Manager
View all comments
Show parent comment
4
u/James20k P2005R0 Mar 06 '26
Thanks for the response 👍
Its not about necessarily whether it collides as such, just about if we might end up with false compiler warnings. It sounds like the answer is probably not which is good
This makes sense, I do wonder if it should be:
As a result, so that code becomes:
Which minimises divergence
That said, is there a possibility that .extensions() could return a marker type, to enable both use cases while eliminating the API divergence entirely? I imagine it might be possible to create an overload set (in pseudocode):
If you see where I'm going with this. Again not a particular problem, but it feels like something that might make using it as a replacement or in generic code require less work