configurable namespaces
Open
@nmm0 is already working on this.
Since Apr 4, 2023.
- Dominant language
- C++
- Stars
- 507
- Forks
- 87
- Avg merge
- 15h 27m
- Merged PRs (30d)
- 2
Description
@crtrott mentioned that we want to be able to configure the namespace that is used for mdspan. We have a situation where mdspan is used as a fragment of a standard library and as a standalone library.
For example, in Kokkos, we may have both a mdspan header provided by the compiler and this mdspan library and we would have to avoid collisions.
We should allow configuring namespaces for:
| Description | example | default | cmake setting |
|---|---|---|---|
| Already standardized | std::mdspan |
std |
MDSPAN_STANDARD_NAMESPACE |
| Future standard draft | N/A | std::experimental |
MDSPAN_DRAFT_NAMESPACE |
| Proposed additions to the standard | std::padded_layout* |
std::experimental |
MDSPAN_PROPOSED_NAMESPACE |
| Extensions (won't be proposed) | N/A | mdspan |
MDSPAN_EXTENSION_NAMESPACE |
Please let me know if you have an opinions on these names
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.