@@ -373,9 +373,9 @@ namespace xt
373373 storage_type& storage_impl () noexcept ;
374374 const storage_type& storage_impl () const noexcept ;
375375
376- XTENSOR_CONSTEXPR_RETURN const inner_shape_type& shape_impl () const noexcept ;
377- XTENSOR_CONSTEXPR_RETURN const inner_strides_type& strides_impl () const noexcept ;
378- XTENSOR_CONSTEXPR_RETURN const inner_backstrides_type& backstrides_impl () const noexcept ;
376+ constexpr const inner_shape_type& shape_impl () const noexcept ;
377+ constexpr const inner_strides_type& strides_impl () const noexcept ;
378+ constexpr const inner_backstrides_type& backstrides_impl () const noexcept ;
379379
380380 friend class xcontainer <xfixed_container<ET, S, L, SH, Tag>>;
381381 };
@@ -495,9 +495,9 @@ namespace xt
495495 storage_type& storage_impl () noexcept ;
496496 const storage_type& storage_impl () const noexcept ;
497497
498- XTENSOR_CONSTEXPR_RETURN const inner_shape_type& shape_impl () const noexcept ;
499- XTENSOR_CONSTEXPR_RETURN const inner_strides_type& strides_impl () const noexcept ;
500- XTENSOR_CONSTEXPR_RETURN const inner_backstrides_type& backstrides_impl () const noexcept ;
498+ constexpr const inner_shape_type& shape_impl () const noexcept ;
499+ constexpr const inner_strides_type& strides_impl () const noexcept ;
500+ constexpr const inner_backstrides_type& backstrides_impl () const noexcept ;
501501
502502 friend class xcontainer <xfixed_adaptor<EC, S, L, SH, Tag>>;
503503 };
@@ -740,21 +740,20 @@ namespace xt
740740 }
741741
742742 template <class ET , class S , layout_type L, bool SH, class Tag >
743- XTENSOR_CONSTEXPR_RETURN auto xfixed_container<ET, S, L, SH, Tag>::shape_impl() const noexcept
744- -> const inner_shape_type&
743+ constexpr auto xfixed_container<ET, S, L, SH, Tag>::shape_impl() const noexcept -> const inner_shape_type&
745744 {
746745 return m_shape;
747746 }
748747
749748 template <class ET , class S , layout_type L, bool SH, class Tag >
750- XTENSOR_CONSTEXPR_RETURN auto xfixed_container<ET, S, L, SH, Tag>::strides_impl() const noexcept
749+ constexpr auto xfixed_container<ET, S, L, SH, Tag>::strides_impl() const noexcept
751750 -> const inner_strides_type&
752751 {
753752 return m_strides;
754753 }
755754
756755 template <class ET , class S , layout_type L, bool SH, class Tag >
757- XTENSOR_CONSTEXPR_RETURN auto xfixed_container<ET, S, L, SH, Tag>::backstrides_impl() const noexcept
756+ constexpr auto xfixed_container<ET, S, L, SH, Tag>::backstrides_impl() const noexcept
758757 -> const inner_backstrides_type&
759758 {
760759 return m_backstrides;
@@ -937,21 +936,20 @@ namespace xt
937936 }
938937
939938 template <class EC , class S , layout_type L, bool SH, class Tag >
940- XTENSOR_CONSTEXPR_RETURN auto xfixed_adaptor<EC, S, L, SH, Tag>::shape_impl() const noexcept
941- -> const inner_shape_type&
939+ constexpr auto xfixed_adaptor<EC, S, L, SH, Tag>::shape_impl() const noexcept -> const inner_shape_type&
942940 {
943941 return m_shape;
944942 }
945943
946944 template <class EC , class S , layout_type L, bool SH, class Tag >
947- XTENSOR_CONSTEXPR_RETURN auto xfixed_adaptor<EC, S, L, SH, Tag>::strides_impl() const noexcept
945+ constexpr auto xfixed_adaptor<EC, S, L, SH, Tag>::strides_impl() const noexcept
948946 -> const inner_strides_type&
949947 {
950948 return m_strides;
951949 }
952950
953951 template <class EC , class S , layout_type L, bool SH, class Tag >
954- XTENSOR_CONSTEXPR_RETURN auto xfixed_adaptor<EC, S, L, SH, Tag>::backstrides_impl() const noexcept
952+ constexpr auto xfixed_adaptor<EC, S, L, SH, Tag>::backstrides_impl() const noexcept
955953 -> const inner_backstrides_type&
956954 {
957955 return m_backstrides;
0 commit comments