Appointments is a small C++ class that keeps appointment dates in a private STL vector and exposes operations for reading and changing the collection. section 6.2.2
Testing the collection
A test constructs dates for 1969, 2025, and 2027, appends two dates, inserts the 1969 date at index 0, removes the 2025 date, and prints the resulting order. The visible results are correct, but vector growth and value copying create hidden performance costs.
