Skip to content

Commit b251fb3

Browse files
committed
lint private public
1 parent 8cc553f commit b251fb3

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

include/boost/multi/array_ref.hpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3269,13 +3269,6 @@ struct const_subarray<T, 1, ElementPtr, Layout> // NOLINT(fuchsia-multiple-inhe
32693269
BOOST_MULTI_HD constexpr auto sliced(index first, index last) & -> const_subarray { return sliced_aux_(first, last); }
32703270
BOOST_MULTI_HD constexpr auto sliced(index first, index last) && -> const_subarray { return sliced_aux_(first, last); }
32713271

3272-
private:
3273-
using elements_iterator = elements_iterator_t<element_ptr, layout_type>;
3274-
using celements_iterator = elements_iterator_t<element_const_ptr, layout_type>;
3275-
3276-
using elements_range = elements_range_t<element_ptr, layout_type>;
3277-
using const_elements_range = elements_range_t<element_const_ptr, layout_type>;
3278-
32793272
#if defined(__cpp_lib_mdspan) && (__cpp_lib_mdspan >= 202207L)
32803273
private:
32813274
auto to_mdspan_aux_() const {
@@ -3304,6 +3297,12 @@ struct const_subarray<T, 1, ElementPtr, Layout> // NOLINT(fuchsia-multiple-inhe
33043297
#endif
33053298

33063299
private:
3300+
using elements_iterator = elements_iterator_t<element_ptr, layout_type>;
3301+
using celements_iterator = elements_iterator_t<element_const_ptr, layout_type>;
3302+
3303+
using elements_range = elements_range_t<element_ptr, layout_type>;
3304+
using const_elements_range = elements_range_t<element_const_ptr, layout_type>;
3305+
33073306
constexpr auto elements_aux_() const { return elements_range{this->base_, this->layout()}; }
33083307

33093308
public:

0 commit comments

Comments
 (0)