Honestly, I see very little utility in this for serious C++ programmers. Your container is
private
, but there are multiple member functions that only
std::map
has that
std::vector
does not have that the programmer may want to use but can't use due to not being able to access the underlying container. —
PaulMcKenzie 5 secs ago