[PATCH v3 0/1] Implement default_accessor.

Luc Grosheintz luc.grosheintz@gmail.com
Fri Jun 27 07:50:38 GMT 2025


Changes since v2:

  * Check requirement that ElementType is neither an array type
    nor an abstract class type.

Luc Grosheintz (1):
  libstdc++: Implement default_accessor from mdspan.

 libstdc++-v3/include/std/mdspan               | 31 ++++++++++
 libstdc++-v3/src/c++23/std.cc.in              |  3 +-
 .../23_containers/mdspan/accessors/default.cc | 59 +++++++++++++++++++
 .../mdspan/accessors/default_neg.cc           | 23 ++++++++
 4 files changed, 115 insertions(+), 1 deletion(-)
 create mode 100644 libstdc++-v3/testsuite/23_containers/mdspan/accessors/default.cc
 create mode 100644 libstdc++-v3/testsuite/23_containers/mdspan/accessors/default_neg.cc

-- 
2.49.0



More information about the Libstdc++ mailing list