This commit is contained in:
MihailRis 2025-10-14 00:53:51 +03:00
parent 84f087049d
commit 2b72f87c64

View File

@ -15,7 +15,7 @@ namespace util {
const T& at(size_t index) const {
if (index >= length) {
throw std::out_of_range();
throw std::out_of_range("index is out of range");
}
return ptr[index];
}