If I write : W_debug()<<"tamaño pixels "<<pix_xx <<" "<<+pix_yy<<"";
I write << (two times) instead of '+' 1 character. W_debug()<<"tamaño pixels "+pix_xx + " " +pix_yy+"";
Ok, this is not a existential need but only by curiosity... I'd want to write the right code.
( What is operator precedence in this problem ? ..... )
+ has higher precedence than << so, myclass << a+b; is the same as myclass << (a+b);. myclass << a << b; is instead equivalent to ( myclass << a ) << b;.
If you want a long chain of operators you should stick to one
you can use + instead of << but it wouldn't be a good choice since you don't expect a + to modify an object