diff options
Diffstat (limited to 'common/alspan.h')
-rw-r--r-- | common/alspan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/alspan.h b/common/alspan.h index ae3f1c06..8ba211fa 100644 --- a/common/alspan.h +++ b/common/alspan.h @@ -100,7 +100,7 @@ public: static constexpr size_t extent{E}; - template<REQUIRES(extent == 0)> + template<bool allow_def=(extent==0), REQUIRES(allow_def)> constexpr span() noexcept { } constexpr span(pointer ptr, index_type /*count*/) : mData{ptr} { } constexpr span(pointer first, pointer /*last*/) : mData{first} { } |