-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add
mdspan
deduction guides for the array
extents constructor and
mapping/accessor constructors. Now all constructors have deduction guides. * Improve the `mdspan` deduction guide for the constructor that takes a parameter pack of dynamic indices. * Change `layout_stride::mapping`'s constructor to take a `dextents` for the strides instead of an `array`. This is both cleaner, and was needed to make CTAD work. * Add a `layout` type alias to all layout mappings, which is needed by `mdspan`'s deduction guides for its layout mapping constructors. * Move all `mdspan` initialization and CTAD tests into `test_mdspan_ctors`. * Add `layout_(left|right)` and `layout_stride` initialization and CTAD tests to `test_layout_ctors` and `test_layout_stride` respectively. * Add a test for `mdspan` construction from a C-array. * Add a test for `mdspan` construction from an extents `array` of type convertible to, but not exactly, `size_t`.
- Loading branch information
1 parent
396d733
commit 2141453
Showing
13 changed files
with
476 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.