Skip to content

Commit 2075f81

Browse files
committed
remove more assign
1 parent 53395ad commit 2075f81

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

include/boost/multi/array.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,11 +1854,11 @@ struct array : unique_array<T, D, Alloc> { // NOLINT(cppcoreguidelines-special-
18541854
// }
18551855
// }
18561856

1857-
void assign(std::initializer_list<value_type> values) {
1858-
if(values.size() != 0) {
1859-
assign(values.begin(), values.end());
1860-
}
1861-
}
1857+
// void assign(std::initializer_list<value_type> values) {
1858+
// if(values.size() != 0) {
1859+
// assign(values.begin(), values.end());
1860+
// }
1861+
// }
18621862

18631863
// template<class Range> auto assign(Range&& other) & -> decltype(assign(adl_begin(std::forward<Range>(other)), adl_end(std::forward<Range>(other)))) {
18641864
// return assign(adl_begin(std::forward<Range>(other)), adl_end(std::forward<Range>(other))); // NOLINT(bugprone-use-after-move,hicpp-invalid-access-moved)

0 commit comments

Comments
 (0)