Sorry if this really doesn't make sense, but I'm curious if it matters. Which is faster:
std::cout << String1 << String2;
Or:
string String2 = "Some Text" + String1;
std::cout << String2;
Sorry if this really doesn't make sense, but I'm curious if it matters. Which is faster:
std::cout << String1 << String2;
Or:
string String2 = "Some Text" + String1;
std::cout << String2;