N
noone
Something I've noticed has me annoyed.
consider this
ostream o;
o << scientific << setw(15) << setprecision(5) << right <<
a << b << c << endl;
on some platforms a, b, and c are all formatted according to the field
widths specified and other times (a) is the only variable that maintains
the requested justification and field width.
I can understand something like
o << scientific << setw(15) << setprecision(5) << right << a;
o << b << c << endl;
throwing out the field information but I'm not seeing any consistency
across applications.
Aren't manipulators suppose to be persistent until overridden, especially
in one statement as in my first example?
consider this
ostream o;
o << scientific << setw(15) << setprecision(5) << right <<
a << b << c << endl;
on some platforms a, b, and c are all formatted according to the field
widths specified and other times (a) is the only variable that maintains
the requested justification and field width.
I can understand something like
o << scientific << setw(15) << setprecision(5) << right << a;
o << b << c << endl;
throwing out the field information but I'm not seeing any consistency
across applications.
Aren't manipulators suppose to be persistent until overridden, especially
in one statement as in my first example?