[libcxx-commits] [libcxx] [libc++][mdspan][NFC] Remove redundant `else` and trailing semicolons (PR #175024)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jan 18 07:53:50 PST 2026
================
@@ -310,7 +309,7 @@ mdspan(_ElementType*, const _MappingType&)
-> mdspan<_ElementType, typename _MappingType::extents_type, typename _MappingType::layout_type>;
template <class _MappingType, class _AccessorType>
-mdspan(const typename _AccessorType::data_handle_type, const _MappingType&, const _AccessorType&)
+mdspan(const typename _AccessorType::data_handle_type&, const _MappingType&, const _AccessorType&)
----------------
frederick-vs-ja wrote:
Submitted [LWG4511](https://cplusplus.github.io/LWG/issue4511) for this.
https://github.com/llvm/llvm-project/pull/175024
More information about the libcxx-commits
mailing list