I have a std::map, and I would like to add a valid key to iterate over it later, but without giving any value (it will be given later on in the course of the iterations).
/* I don't want to do that because in fact I don't use a float type */
Then instead of std::map use the std::set.
std::map