You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should remove the pattern std::mdspan<...> const .... For views, the const here doesn't prevent people from modifying the underlying data, just the view itself, which isn't usually a useful restriction.
The text was updated successfully, but these errors were encountered:
I'd suggest to modify our use cases to std::mdspan<const T> where possible. This would preserve the constness of elements and provide “read only” access
General
We should remove the pattern
std::mdspan<...> const ...
. For views, theconst
here doesn't prevent people from modifying the underlying data, just the view itself, which isn't usually a useful restriction.The text was updated successfully, but these errors were encountered: