diff --git a/platform/cxxsupport/mstd_span b/platform/cxxsupport/mstd_span index 4594a7c2eb..c95ed43b73 100644 --- a/platform/cxxsupport/mstd_span +++ b/platform/cxxsupport/mstd_span @@ -63,6 +63,8 @@ struct storage { ElementType *_data = nullptr; static constexpr size_t _size = Extent; }; +template +constexpr size_t storage::_size; template struct storage { @@ -331,6 +333,9 @@ private: detail::storage _storage; }; +template +constexpr span::index_type span::extent; + #if __cplusplus >= 201703L || __cpp_deduction_guides >= 201703L // Deduction guides template