Changes in libcfa/src/iostream.hfa [3c5dee4:9d362a0]
- File:
-
- 1 edited
-
libcfa/src/iostream.hfa (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.hfa
r3c5dee4 r9d362a0 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat May 11 10:31:27 201913 // Update Count : 2 3212 // Last Modified On : Mon Dec 24 18:33:40 2018 13 // Update Count : 220 14 14 // 15 15 … … 48 48 void close( ostype & os ); 49 49 ostype & write( ostype &, const char *, size_t ); 50 int fmt( ostype &, const char format[], ... ) __attribute__(( format(printf, 2, 3) ));50 int fmt( ostype &, const char format[], ... ); 51 51 }; // ostream 52 52 … … 62 62 63 63 forall( dtype ostype | ostream( ostype ) ) { 64 ostype & ?|?( ostype &, zero_t );65 void ?|?( ostype &, zero_t );66 ostype & ?|?( ostype &, one_t );67 void ?|?( ostype &, one_t );68 69 64 ostype & ?|?( ostype &, bool ); 70 65 void ?|?( ostype &, bool ); … … 149 144 150 145 trait istream( dtype istype ) { 151 void nlOn( istype & ); // read newline152 void nlOff( istype & ); // scan newline153 bool getANL( istype & ); // get scan newline (on/off)154 146 int fail( istype & ); 155 147 int eof( istype & ); … … 158 150 istype & read( istype &, char *, size_t ); 159 151 istype & ungetc( istype &, char ); 160 int fmt( istype &, const char format[], ... ) __attribute__(( format(scanf, 2, 3) ));152 int fmt( istype &, const char format[], ... ); 161 153 }; // istream 162 154 … … 192 184 istype & ?|?( istype &, istype & (*)( istype & ) ); 193 185 istype & nl( istype & is ); 194 istype & nlOn( istype & );195 istype & nlOff( istype & );196 186 } // distribution 197 187 … … 215 205 216 206 // Local Variables: // 207 // mode: c // 217 208 // tab-width: 4 // 218 209 // End: //
Note:
See TracChangeset
for help on using the changeset viewer.