File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,17 @@ struct array {
5252
5353 friend auto operator <=>(array const &, array const &) = default ;
5454
55- constexpr operator std::span<T const >() const & requires ( sizeof ...(sizes) == 0) {
56- return std::span<T const >(m_value);
55+ constexpr operator std::span<value_type const >() const & {
56+ return std::span<value_type const >(m_value);
5757 }
58- constexpr operator std::span<T >() & requires ( sizeof ...(sizes) == 0) {
59- return std::span<T >(m_value);
58+ constexpr operator std::span<value_type >() & {
59+ return std::span<value_type >(m_value);
6060 }
61- constexpr operator std::span<T const , static_cast <std::size_t >(size_)>() const & requires ( sizeof ...(sizes) == 0) {
62- return std::span<T const , static_cast <std::size_t >(size_)>(m_value);
61+ constexpr operator std::span<value_type const , static_cast <std::size_t >(size_)>() const & {
62+ return std::span<value_type const , static_cast <std::size_t >(size_)>(m_value);
6363 }
64- constexpr operator std::span<T , static_cast <std::size_t >(size_)>() & requires ( sizeof ...(sizes) == 0) {
65- return std::span<T , static_cast <std::size_t >(size_)>(m_value);
64+ constexpr operator std::span<value_type , static_cast <std::size_t >(size_)>() & {
65+ return std::span<value_type , static_cast <std::size_t >(size_)>(m_value);
6666 }
6767
6868 // Consider this private. It must be public for the class to be an
You can’t perform that action at this time.
0 commit comments