I see that map have a const key on value_type but set not work the same way.
value_type
If std::map<T>::value_type are std::pair<const Key, T> would std::set<T>::value_type be const Key?
std::map<T>::value_type
std::pair<const Key, T>
std::set<T>::value_type
const Key
Aucun commentaire:
Enregistrer un commentaire