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
std::copy(init.begin(),init.end(),arr);
}
constexpr ll size()const noexcept{
return size;
static constexpr ll size()noexcept{
return _size;
}
constexpr T& operator[](const ll index)NDB_NOEXCEPT{
#ifndef NDEBUG