cpp-proposals-pub icon indicating copy to clipboard operation
cpp-proposals-pub copied to clipboard

mdspan: AccessorPolicy missing a bunch of requirements

Open dhollman opened this issue 6 years ago • 0 comments

We don't even require MoveConstructible (or even Destructible) for the AccessorPolicy, which effectively makes it impossible to implement basic_mdspan in a reasonable way. The requirements should probably be DefaultConstructible and CopyConstructible, or if not we need to add some wording to basic_mdspan itself to handle this.

dhollman avatar Aug 08 '19 15:08 dhollman