This commit is contained in:
Zengtudor 2024-10-15 15:31:03 +08:00
parent 3443a79417
commit fa7f526cc7

View File

@ -49,8 +49,8 @@ public:
#endif #endif
std::copy(init.begin(),init.end(),arr); std::copy(init.begin(),init.end(),arr);
} }
constexpr ll size()const noexcept{ static constexpr ll size()noexcept{
return size; return _size;
} }
constexpr T& operator[](const ll index)NDB_NOEXCEPT{ constexpr T& operator[](const ll index)NDB_NOEXCEPT{
#ifndef NDEBUG #ifndef NDEBUG