@@ -381,21 +381,6 @@ namespace xt
381381 friend class xcontainer <xfixed_container<ET, S, L, SH, Tag>>;
382382 };
383383
384- #ifdef XTENSOR_HAS_CONSTEXPR_ENHANCED
385- // Out of line definitions to prevent linker errors prior to C++17
386- template <class ET , class S , layout_type L, bool SH, class Tag >
387- constexpr
388- typename xfixed_container<ET, S, L, SH, Tag>::inner_shape_type xfixed_container<ET, S, L, SH, Tag>::m_shape;
389-
390- template <class ET , class S , layout_type L, bool SH, class Tag >
391- constexpr
392- typename xfixed_container<ET, S, L, SH, Tag>::inner_strides_type xfixed_container<ET, S, L, SH, Tag>::m_strides;
393-
394- template <class ET , class S , layout_type L, bool SH, class Tag >
395- constexpr typename xfixed_container<ET, S, L, SH, Tag>::inner_backstrides_type
396- xfixed_container<ET, S, L, SH, Tag>::m_backstrides;
397- #endif
398-
399384 /* ***************************************
400385 * xfixed_container_adaptor declaration *
401386 ****************************************/
@@ -518,21 +503,6 @@ namespace xt
518503 friend class xcontainer <xfixed_adaptor<EC, S, L, SH, Tag>>;
519504 };
520505
521- #ifdef XTENSOR_HAS_CONSTEXPR_ENHANCED
522- // Out of line definitions to prevent linker errors prior to C++17
523- template <class EC , class S , layout_type L, bool SH, class Tag >
524- constexpr
525- typename xfixed_adaptor<EC, S, L, SH, Tag>::inner_shape_type xfixed_adaptor<EC, S, L, SH, Tag>::m_shape;
526-
527- template <class EC , class S , layout_type L, bool SH, class Tag >
528- constexpr
529- typename xfixed_adaptor<EC, S, L, SH, Tag>::inner_strides_type xfixed_adaptor<EC, S, L, SH, Tag>::m_strides;
530-
531- template <class EC , class S , layout_type L, bool SH, class Tag >
532- constexpr typename xfixed_adaptor<EC, S, L, SH, Tag>::inner_backstrides_type
533- xfixed_adaptor<EC, S, L, SH, Tag>::m_backstrides;
534- #endif
535-
536506 /* ***********************************
537507 * xfixed_container implementation *
538508 ************************************/
0 commit comments