From 0931f1b0960b9dc37728901b7b3a5a3f9b7f8a02 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 (synced from 72f53b08cbc24069996ab2e57575c34dda0efe3a) --- src/ox/std/vector.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ox/std/vector.hpp b/src/ox/std/vector.hpp index 799343cb8..6aba36445 100644 --- a/src/ox/std/vector.hpp +++ b/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;