[Grade School - Excercism](https://exercism.io/tracks/cpp/exercises/grade-school/solutions/b2708095bc0b48c8a3c175768150c280)

There is a test suite attached to the exercise as well.

```
void school::add(std::string name, int grade)
{
    roster_[grade].insert(std::upper_bound(roster_[grade].begin(), roster_[grade].end(), name), name);
}

```

---

roster\_ is defined as `std::map<int, std::vector<std::string>> roster_;`.