Skip to content

Commit a70be95

Browse files
committed
Merge branch 'privatize-halved' into 'develop'
halved private See merge request correaa/boost-multi!1978
2 parents b2ec7e1 + c86bbb6 commit a70be95

2 files changed

Lines changed: 238 additions & 240 deletions

File tree

include/boost/multi/array_ref.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,10 +1526,10 @@ class const_subarray : public array_types<T, D, ElementPtr, Layout> {
15261526
return subarray<T, D + 1, element_ptr>(new_layout, this->base_);
15271527
}
15281528

1529-
public:
1530-
BOOST_MULTI_HD constexpr auto halved() const& -> const_subarray<T, D + 1, element_ptr> { return halved_aux_(); }
1529+
// public:
1530+
BOOST_MULTI_HD constexpr auto halved() const& -> const_subarray<T, D + 1, element_ptr> { return halved_aux_(); } // NOLINT(readability-identifier-naming) TODO(correaa) remove
15311531

1532-
private:
1532+
// private:
15331533
#if defined(__clang__) && (__clang_major__ >= 16) && !defined(__INTEL_LLVM_COMPILER)
15341534
#pragma clang diagnostic push
15351535
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"

0 commit comments

Comments
 (0)