@@ -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,19 @@ 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
751- -> const inner_strides_type&
749+ constexpr auto xfixed_container<ET, S, L, SH, Tag>::strides_impl() const noexcept -> const inner_strides_type&
752750 {
753751 return m_strides;
754752 }
755753
756754 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
755+ constexpr auto xfixed_container<ET, S, L, SH, Tag>::backstrides_impl() const noexcept
758756 -> const inner_backstrides_type&
759757 {
760758 return m_backstrides;
@@ -937,21 +935,21 @@ namespace xt
937935 }
938936
939937 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
938+ constexpr auto xfixed_adaptor<EC, S, L, SH, Tag>::shape_impl() const noexcept
941939 -> 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