diff --git a/include/span.h b/include/span.h index 6ecad64..e922eac 100644 --- a/include/span.h +++ b/include/span.h @@ -127,7 +127,8 @@ public: template ::value>> + std::is_convertible::value && + !std::is_integral::value>> constexpr index(ValueType value) noexcept { elems[0] = value;