Understanding and Using std::set in C++