Changes in src/libcfa/iostream [86f384b:9ebd778]
- File:
-
- 1 edited
-
src/libcfa/iostream (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/iostream
r86f384b r9ebd778 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Jul 2 08:42:56201713 // Update Count : 1 1012 // Last Modified On : Mon May 15 18:08:44 2017 13 // Update Count : 105 14 14 // 15 15 … … 26 26 const char * sepGetCur( ostype * ); // get current separator string 27 27 void sepSetCur( ostype *, const char * ); // set current separator string 28 _Bool lastSepOn( ostype * ); // last manipulator is setOn (context sensitive)29 28 // public 30 29 void sepOn( ostype * ); // turn separator state on … … 44 43 ostype * write( ostype *, const char *, unsigned long int ); 45 44 int fmt( ostype *, const char fmt[], ... ); 46 }; // ostream45 }; 47 46 48 47 trait writeable( otype T ) { 49 48 forall( dtype ostype | ostream( ostype ) ) ostype * ?|?( ostype *, T ); 50 }; // writeable49 }; 51 50 52 51 // implement writable for intrinsic types … … 104 103 istype * ungetc( istype *, char ); 105 104 int fmt( istype *, const char fmt[], ... ); 106 }; // istream105 }; 107 106 108 107 trait readable( otype T ) { 109 108 forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, T ); 110 }; // readable109 }; 111 110 112 111 forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, char * );
Note:
See TracChangeset
for help on using the changeset viewer.