Std::set
lastmod 2018-08-17created 2016-08-061 edits
Troubleshooting
const_iterator
The iterator of a set (set<T>::iterator) is const. A set is a sorted container. Because the values themselves are the sort criteria, modifying an internal value can potentially cause bugs. So if you want to change values, it is better to use std::map, where KEY and VALUE are separate.
Pages that link here