// #pragma once // #include // #include "commons/commons_array_def.h" // #include "commons/commons_base.h" // template // [[nodiscard]] // INLINE auto array::operator[](uint64_t i) -> T& // { // DASSERT(i < Size); // return data[i]; // } // template // [[nodiscard]] // INLINE auto array::operator[](uint64_t i) const -> const T& // { // DASSERT(i < Size); // return data[i]; // } // template // [[nodiscard]] // constexpr auto Array_Size(const array& self) -> uint64_t // { // return ArraySize; // } // template // [[nodiscard]] // INLINE auto Array_Front(const array& self) -> T& // { // return self[0]; // } // template // [[nodiscard]] // INLINE auto Array_Back(const array& self) -> T& // { // return self[Size - 1]; // }