My line of programming work never really leads me into bitshift territory, which is what I think is going on here. Can anyone explain what is trying to be accomplished here? it looks like a convoluted way to accomplish a simple (number*10)
int number = 12;
std::stringstream str;
str << number << '0';
str >> number;
But why the bitshifting?