is_out_of_bounds uses std::vector::capacity now