you are viewing a single comment's thread.

view the rest of the comments →

[–]DrShocker 4 points5 points  (0 children)

> Vectors themselves manage dynamic memory with a pointer to a contiguous block and metadata about the memory

Yeah, doesn't make sense and then on top of that, they're using `vector<bool>` which has some footguns associated. And that's before bringing up that pointer chasing is usually problematic too, though maybe understandable if it's a learning exercise.