I'm looking for something a bit like std::map, except that I don't care about a <key, value> pair; I just want to be able to say to the thing, "here, keep this integer". And "hey, have you got that integer, yes or no?" Something tells me a hashmap isn't the right tool for the job, but I can't seem to figure out what is. Any ideas?