What is the purpose of std::make_pair
?
Why not just do std::pair<int, char>(0, 'a')
?
Is there any difference between the two methods?
What is the purpose of std::make_pair
?
Why not just do std::pair<int, char>(0, 'a')
?
Is there any difference between the two methods?