formatting
All checks were successful
Build on RHEL9 / build (push) Successful in 3m19s
Build on RHEL8 / build (push) Successful in 4m50s

This commit is contained in:
2025-06-16 22:10:44 +02:00
parent d19fe8b66a
commit 925176b661
5 changed files with 6 additions and 15 deletions

View File

@ -113,10 +113,12 @@ template <typename T, size_t Capacity> class StaticVector {
// auto begin() noexcept -> decltype(data_.begin()) { return data_.begin();
// }
const_iterator begin() const noexcept { return data_.begin(); }
iterator end() noexcept { return data_.begin()+current_size; }
const_iterator end() const noexcept { return data_.begin()+current_size; }
iterator end() noexcept { return data_.begin() + current_size; }
const_iterator end() const noexcept { return data_.begin() + current_size; }
const_iterator cbegin() const noexcept { return data_.cbegin(); }
const_iterator cend() const noexcept { return data_.cbegin()+current_size; }
const_iterator cend() const noexcept {
return data_.cbegin() + current_size;
}
void size_check(size_type s) const {
if (s > Capacity) {