provide convenience fixed(ios&) and scientific(ios&) inline functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10475 a95241bf-73f2-0310-859d-f6bbb57e9c96
Diff
gcc/libio/iostream.h | 4 ++++
1 file changed, 4 insertions(+)
@@ -284,6 +284,10 @@
{ i.setf(ios::hex, ios::dec|ios::hex|ios::oct); return i; }
inline ios& oct(ios& i)
{ i.setf(ios::oct, ios::dec|ios::hex|ios::oct); return i; }
inline ios& fixed(ios& i)
{ i.setf(ios::fixed, ios::floatfield); return i; }
inline ios& scientific(ios& i)
{ i.setf(ios::fixed, ios::floatfield); return i; }
}
#endif