From 7adf7eb6fe4c8d90a60df6ba2833b55146f79716 Mon Sep 17 00:00:00 2001 From: Jordan Maples Date: Thu, 3 Oct 2019 17:52:49 -0700 Subject: [PATCH] new messages --- include/gsl/multi_span | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;