I think you can write this as: std::make_pair("Connection", "Upgrade")