diff options
author | Jordan Maples <jomaples@microsoft.com> | 2019-10-03 17:52:49 -0700 |
---|---|---|
committer | Jordan Maples <jomaples@microsoft.com> | 2019-10-03 17:52:49 -0700 |
commit | 7adf7eb6fe4c8d90a60df6ba2833b55146f79716 (patch) | |
tree | 4f2642a0b1e95195fecbe2ccab8ccaf426623f2a | |
parent | 5e4463a7c19cca78b949d094f1e364bece769485 (diff) | |
download | platform_external_Microsoft-GSL-7adf7eb6fe4c8d90a60df6ba2833b55146f79716.tar.gz platform_external_Microsoft-GSL-7adf7eb6fe4c8d90a60df6ba2833b55146f79716.tar.bz2 platform_external_Microsoft-GSL-7adf7eb6fe4c8d90a60df6ba2833b55146f79716.zip |
new messages
-rw-r--r-- | include/gsl/multi_span | 8 |
1 files 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<N> dim(std::ptrdiff_t n) noexcept template <typename ValueType, std::ptrdiff_t FirstDimension = dynamic_range, std::ptrdiff_t... RestDimensions> -class [[deprecated]] multi_span; +class [[deprecated("gsl::multi_span is deprecated because it is not in the C++ Core Guidelines")]] multi_span; template <typename ValueType, std::size_t Rank> -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 <typename ValueType, std::ptrdiff_t FirstDimension, std::ptrdiff_t... RestDimensions> -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 <typename ValueType2, std::ptrdiff_t FirstDimension2, std::ptrdiff_t... RestDimensions2> @@ -1783,7 +1783,7 @@ constexpr auto as_multi_span(std::basic_string<CharT, Traits, Allocator>& 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 <typename ValueType, std::size_t Rank> -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<Rank>; |