⛏️ index : buildtools.git

author shatty <shatty@nowhere.fake> 2004-12-16 3:46:43.0 +00:00:00
committer shatty <shatty@nowhere.fake> 2004-12-16 3:46:43.0 +00:00:00
commit
5f2a11b03261cc155fae46fffae921b8f00919a9 [patch]
tree
f70d647d5e7bb1ea71c894523590eaf3eb11e9e0
parent
4616c259410b10138a62abbabe3dc8caa79fab06
download
5f2a11b03261cc155fae46fffae921b8f00919a9.tar.gz

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(+)

diff --git a/gcc/libio/iostream.h b/gcc/libio/iostream.h
index 22b9d69..51bd71a 100644
--- a/gcc/libio/iostream.h
+++ b/gcc/libio/iostream.h
@@ -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; }
} // extern "C++"

#endif /*!_IOSTREAM_H*/