Changes in libcfa/src/iostream.hfa [dc9dd94:8a97248]
- File:
-
- 1 edited
-
libcfa/src/iostream.hfa (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.hfa
rdc9dd94 r8a97248 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jun 15 22:34:31202313 // Update Count : 41 112 // Last Modified On : Thu Feb 2 11:25:39 2023 13 // Update Count : 410 14 14 // 15 15 … … 51 51 int fmt( ostype &, const char format[], ... ) __attribute__(( format(printf, 2, 3) )); 52 52 }; // basic_ostream 53 53 54 54 forall( ostype & | basic_ostream( ostype ) ) 55 55 trait ostream { … … 68 68 69 69 forall( T, ostype & | ostream( ostype ) ) 70 trait writeable {70 trait writeable { 71 71 ostype & ?|?( ostype &, T ); 72 72 }; // writeable … … 161 161 // *********************************** manipulators *********************************** 162 162 163 struct _Ostream_Flags {164 unsigned char eng:1; // engineering notation165 unsigned char neg:1; // val is negative166 unsigned char pc:1; // precision specified167 unsigned char left:1; // left justify168 unsigned char nobsdp:1; // base prefix / decimal point169 unsigned char sign:1; // plus / minus sign170 unsigned char pad0:1; // zero pad171 };172 173 163 forall( T ) 174 164 struct _Ostream_Manip { … … 178 168 union { 179 169 unsigned char all; 180 _Ostream_Flags flags; 170 struct { 171 unsigned char eng:1; // engineering notation 172 unsigned char neg:1; // val is negative 173 unsigned char pc:1; // precision specified 174 unsigned char left:1; // left justify 175 unsigned char nobsdp:1; // base prefix / decimal point 176 unsigned char sign:1; // plus / minus sign 177 unsigned char pad0:1; // zero pad 178 } flags; 181 179 }; 182 180 }; // _Ostream_Manip
Note:
See TracChangeset
for help on using the changeset viewer.