This patch implements LWG4272. LWG4272 has not been discussed or approved. This patch serves to demonstrate that LWG4272 leads to uniform behaviour of ctors when rank == 0.
This isn't patch doesn't add any _GLIBCXX_RESOLVE_LIB_DEFECTS markers, and isn't necessarily intended to be merged (as is). Luc Grosheintz (1): libstdc++: Convertibility of rank == 0 layouts, LWG4272. libstdc++-v3/include/std/mdspan | 6 +- .../23_containers/mdspan/layouts/ctors.cc | 60 ++++++++++++++++++- 2 files changed, 62 insertions(+), 4 deletions(-) -- 2.49.0
