mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Add size_type, difference_type to span
This commit is contained in:
parent
32ca283d53
commit
b317c9afdd
2
gsl/span
2
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<span<ElementType, Extent>, false>;
|
||||
using const_iterator = details::span_iterator<span<ElementType, Extent>, true>;
|
||||
|
Loading…
Reference in New Issue
Block a user