Fix missing defintion

pull/13881/head
Marc Emmers 2021-01-18 14:34:26 +01:00
parent 8f94feb0ed
commit d5459ea380
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,8 @@ struct storage {
ElementType *_data = nullptr;
static constexpr size_t _size = Extent;
};
template<typename ElementType, size_t Extent>
constexpr size_t storage<ElementType, Extent>::_size;
template<typename ElementType>
struct storage<ElementType, dynamic_extent> {
@ -331,6 +333,9 @@ private:
detail::storage<element_type, extent> _storage;
};
template<typename ElementType, size_t Extent>
constexpr span<ElementType, Extent>::index_type span<ElementType, Extent>::extent;
#if __cplusplus >= 201703L || __cpp_deduction_guides >= 201703L
// Deduction guides
template<class It, class EndOrSize>