My question is this: a temporary std::string object is created at the "entrance" of make_current method, from a const char* (value 56). This temporary is then inserted into a std::set called names_. Does this copy the temporary into the set or does it insert a reference to this temporary?
Thanks,
Juan
P.S.: it seems to me that the set being of type std::string, should make a copy of the temporary, so there is no problem. Am I right?