mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
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
This commit is contained in:
@@ -284,6 +284,10 @@ inline ios& hex(ios& i)
|
||||
{ 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*/
|
||||
|
||||
Reference in New Issue
Block a user