[ox/std] Add size_type and value_type to Vector
This commit is contained in:
parent
5fe91ae577
commit
72f53b08cb
4
deps/ox/src/ox/std/vector.hpp
vendored
4
deps/ox/src/ox/std/vector.hpp
vendored
@ -18,6 +18,10 @@ namespace ox {
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
class Vector {
|
class Vector {
|
||||||
|
|
||||||
|
public:
|
||||||
|
using value_type = T;
|
||||||
|
using size_type = std::size_t;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::size_t m_size = 0;
|
std::size_t m_size = 0;
|
||||||
std::size_t m_cap = 0;
|
std::size_t m_cap = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user