File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -256,11 +256,14 @@ namespace xt
256
256
using array_type = A;
257
257
using value_type = typename array_type::size_type;
258
258
using const_reference = value_type;
259
+ using reference = const_reference;
259
260
using const_pointer = const value_type*;
261
+ using pointer = const_pointer;
260
262
using size_type = typename array_type::size_type;
261
263
using difference_type = typename array_type::difference_type;
262
264
263
265
using const_iterator = pybackstrides_iterator<self_type>;
266
+ using iterator = const_iterator;
264
267
265
268
pyarray_backstrides () = default ;
266
269
pyarray_backstrides (const array_type& a);
Original file line number Diff line number Diff line change @@ -29,12 +29,16 @@ namespace xt
29
29
30
30
using value_type = std::ptrdiff_t ;
31
31
using const_reference = value_type;
32
+ using reference = const_reference;
32
33
using const_pointer = const value_type*;
34
+ using pointer = const_pointer;
33
35
using size_type = std::size_t ;
34
36
using difference_type = std::ptrdiff_t ;
35
37
36
38
using const_iterator = pystrides_iterator<N>;
39
+ using iterator = const_iterator;
37
40
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
41
+ using reverse_iterator = const_reverse_iterator;
38
42
39
43
pystrides_adaptor () = default ;
40
44
pystrides_adaptor (const_pointer data, size_type size);
You can’t perform that action at this time.
0 commit comments