Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Added const keyword #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reference/include/detail/mdspan_helper
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ struct extents_impl< R , SN , Tail... >
static constexpr ptrdiff_t static_extent( int k ) noexcept
{ return k == R ? StaticN : next::static_extent(k); }

constexpr ptrdiff_t extent( int k ) noexcept
constexpr ptrdiff_t extent( int k ) const noexcept
{ return k == R ? N : next::extent(k); }

constexpr ptrdiff_t size( int k ) const noexcept
Expand Down