#include <iostream>
#include <string>
using namespace std;
void print_pair(const std::pair<const std::string&, const int&>& p)
{
std::cout << p.first << "," << p.second << std::endl;
}
int main() {
print_pair(std::pair<const std::string&, const int&>("test",1));//1
print_pair(std::pair<const std::string&, const int&>(std::string("test"),1));//2
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBwcmludF9wYWlyKGNvbnN0IHN0ZDo6cGFpcjxjb25zdCBzdGQ6OnN0cmluZyYsIGNvbnN0IGludCY+JiBwKQp7CiAgICBzdGQ6OmNvdXQgPDwgcC5maXJzdCA8PCAiLCIgPDwgcC5zZWNvbmQgPDwgc3RkOjplbmRsOwp9CgppbnQgbWFpbigpIHsKCXByaW50X3BhaXIoc3RkOjpwYWlyPGNvbnN0IHN0ZDo6c3RyaW5nJiwgY29uc3QgaW50Jj4oInRlc3QiLDEpKTsvLzEKCXByaW50X3BhaXIoc3RkOjpwYWlyPGNvbnN0IHN0ZDo6c3RyaW5nJiwgY29uc3QgaW50Jj4oc3RkOjpzdHJpbmcoInRlc3QiKSwxKSk7Ly8yCglyZXR1cm4gMDsKfQ==