From 22a286cefe552a16ad1e7fb3013bd228d2804584 Mon Sep 17 00:00:00 2001 From: Gary Furnish Date: Sun, 9 Oct 2016 18:01:46 -0600 Subject: [PATCH] Fix #388 Deprecated implicit copy assignment operator for span_iterator in C++17. --- gsl/span | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gsl/span b/gsl/span index 62b63de..6f74dc5 100644 --- a/gsl/span +++ b/gsl/span @@ -163,6 +163,8 @@ namespace details { } + constexpr span_iterator& operator=(const span_iterator&) noexcept = default; + constexpr reference operator*() const { Expects(span_);