From b317c9afdda0d91eac1b96d7f6bbe19852b924e0 Mon Sep 17 00:00:00 2001 From: Gary Furnish Date: Thu, 6 Oct 2016 12:15:25 -0600 Subject: [PATCH] Add size_type, difference_type to span --- gsl/span | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gsl/span b/gsl/span index 62b63de..46b807a 100644 --- a/gsl/span +++ b/gsl/span @@ -347,6 +347,8 @@ public: using index_type = std::ptrdiff_t; using pointer = element_type*; using reference = element_type&; + using size_type = index_type; + using difference_type = index_type; using iterator = details::span_iterator, false>; using const_iterator = details::span_iterator, true>;