Make SeArray::Size() static.

This commit is contained in:
hashlag
2026-02-07 17:54:37 +03:00
parent ccf1397595
commit 3059bd4c66

View File

@@ -58,11 +58,6 @@ public:
return Storage_.data() + Storage_.size();
}
constexpr size_t Size() const noexcept
{
return Storage_.size();
}
void Fill(const T & value)
{
Storage_.fill(value);
@@ -73,6 +68,11 @@ public:
EraseImpl();
}
static constexpr size_t Size() noexcept
{
return S;
}
private:
std::array<T, S> Storage_;