diff --git a/include/gsl/multi_span b/include/gsl/multi_span index 4ea5c83..d2b2a69 100644 --- a/include/gsl/multi_span +++ b/include/gsl/multi_span @@ -1098,10 +1098,10 @@ constexpr dim_t dim(std::ptrdiff_t n) noexcept template -class [[deprecated]] multi_span; +class [[deprecated("gsl::multi_span is deprecated because it is not in the C++ Core Guidelines")]] multi_span; template -class [[deprecated]] strided_span; +class [[deprecated("gsl::strided_span is deprecated because it is not in the C++ Core Guidelines")]] strided_span; namespace details { @@ -1205,7 +1205,7 @@ namespace details } // namespace details template -class [[deprecated("This concept is not present in the C++ Core Guidelines")]] multi_span { +class [[deprecated("gsl::multi_span is deprecated because it is not in the C++ Core Guidelines")]] multi_span { // TODO do we still need this? template @@ -1783,7 +1783,7 @@ constexpr auto as_multi_span(std::basic_string& str) // strided_span is an extension that is not strictly part of the GSL at this time. // It is kept here while the multidimensional interface is still being defined. template -class [[deprecated]] strided_span +class [[deprecated("gsl::strided_span is deprecated because it is not in the C++ Core Guidelines")]] strided_span { public: using bounds_type = strided_bounds;