What on earth is going on here? I\'m trying to create a pair of an int and a string and I can create the pair if I use \"magic values\" but can
int
string
Now std::make_pair is defined the following way in the C++ Standard
std::make_pair
template
see below make_pair(**T1&&, T2&&**);
make_pair(**T1&&, T2&&**);
You could write simpler without using std::make_pair
num_text.push_back( { 42, text } ); .
num_text.push_back( { 42, text } );