What is the purpose of std::make_pair?
std::make_pair
Why not just do std::pair(0, \'a\')?
std::pair(0, \'a\')
Is there any difference between the tw
starting from c++11 just use uniform initialization for pairs. So instead of:
std::make_pair(1, 2);
or
std::pair(1, 2);
just use
{1, 2};