diff --git a/platform/cxxsupport/mstd_span b/platform/cxxsupport/mstd_span index a5a2e19..ef0873d 100644 --- a/platform/cxxsupport/mstd_span +++ b/platform/cxxsupport/mstd_span @@ -140,6 +140,8 @@ using element_type = ElementType; using value_type = typename mstd::remove_cv_t; using size_type = size_t; + // Typedef because IAR does not allow [[deprecated]] with using + [[deprecated("Use size_type instead.")]] typedef size_t index_type; using difference_type = ptrdiff_t; using pointer = element_type *; using const_pointer = const element_type *;