[libcxx-commits] [libcxx] [libcxx] Add missing member `cend()` to `MinSequenceContainer` (PR #175114)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 9 02:54:16 PST 2026
================
@@ -54,6 +54,7 @@ struct MinSequenceContainer {
TEST_CONSTEXPR_CXX20 const_iterator cbegin() const { return const_iterator(data_.data()); }
TEST_CONSTEXPR_CXX20 iterator end() { return begin() + size(); }
TEST_CONSTEXPR_CXX20 const_iterator end() const { return begin() + size(); }
+ TEST_CONSTEXPR_CXX20 const_iterator cend() const { return begin() + size(); }
----------------
philnik777 wrote:
```suggestion
TEST_CONSTEXPR_CXX20 const_iterator cend() const { return end(); }
```
https://github.com/llvm/llvm-project/pull/175114
More information about the libcxx-commits
mailing list