From 72f53b08cbc24069996ab2e57575c34dda0efe3a Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 5 May 2021 17:00:37 -0400 Subject: [PATCH] [ox/std] Add size_type and value_type to Vector --- deps/ox/src/ox/std/vector.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deps/ox/src/ox/std/vector.hpp b/deps/ox/src/ox/std/vector.hpp index 799343cb..6aba3644 100644 --- a/deps/ox/src/ox/std/vector.hpp +++ b/deps/ox/src/ox/std/vector.hpp @@ -18,6 +18,10 @@ namespace ox { template class Vector { + public: + using value_type = T; + using size_type = std::size_t; + private: std::size_t m_size = 0; std::size_t m_cap = 0;