You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using iterator = detail::array_iterator<element, D, element_ptr, false, false, typename layout_type::stride_type, typename layout_type::sub_type>;///< Random access iterator across the leading dimension (e.g. returned by `begin`/`end`)
1767
+
using const_iterator = detail::array_iterator<element, D, element_ptr, true, false, typename layout_type::stride_type, typename layout_type::sub_type>;///< Random access const-iterator across the leading dimension
1768
+
using move_iterator = detail::array_iterator<element, D, element_ptr, false, true, typename layout_type::stride_type, typename layout_type::sub_type>;///< Random access move-iterator across the leading dimension
BOOST_MULTI_HD constexprautocbegin() const& { returnbegin(); } ///< returns an (explicitly const-)iterator to the beginning
1823
1823
BOOST_MULTI_HD constexprautocend() const& { returnend(); } ///< returns an (explicitly const-)iterator to the end
1824
1824
1825
-
using cursor = cursor_t<typename const_subarray::element_ptr, D, typename const_subarray::strides_type>;
1826
-
using const_cursor = cursor_t<typename const_subarray::element_const_ptr, D, typename const_subarray::strides_type>;
1825
+
using cursor = cursor_t<typename const_subarray::element_ptr, D, typename const_subarray::strides_type>;// Cursor for the array, the cursor is indexable, and it has pointer semantics (returned by `home`)
1826
+
using const_cursor = cursor_t<typename const_subarray::element_const_ptr, D, typename const_subarray::strides_type>;// const-cursor for the array
BOOST_MULTI_HD constexprautohome() const& -> const_cursor { returnhome_aux_(); }///< Return a cursor pointing to the top corner element of the array, the cursor is indexed relative to this location
0 commit comments