Changeset 7b3a6e6 for libcfa/src/iostream.hfa
- Timestamp:
- Aug 14, 2018, 1:21:19 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 5a5d31a
- Parents:
- ef2eade (diff), 0e0f128c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.hfa
ref2eade r7b3a6e6 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : S un Jul 1 12:12:22201813 // Update Count : 15 512 // Last Modified On : Sat Aug 11 08:22:49 2018 13 // Update Count : 156 14 14 // 15 15 … … 20 20 trait ostream( dtype ostype ) { 21 21 // private 22 _Bool sepPrt( ostype & ); // return separator state (on/off)22 bool sepPrt( ostype & ); // return separator state (on/off) 23 23 void sepReset( ostype & ); // set separator state to default state 24 void sepReset( ostype &, _Bool ); // set separator and default state24 void sepReset( ostype &, bool ); // set separator and default state 25 25 const char * sepGetCur( ostype & ); // get current separator string 26 26 void sepSetCur( ostype &, const char * ); // set current separator string 27 _Bool getNL( ostype & ); // check newline28 void setNL( ostype &, _Bool ); // saw newline27 bool getNL( ostype & ); // check newline 28 void setNL( ostype &, bool ); // saw newline 29 29 // public 30 30 void sepOn( ostype & ); // turn separator state on 31 31 void sepOff( ostype & ); // turn separator state off 32 _Bool sepDisable( ostype & ); // set default state to off, and return previous state33 _Bool sepEnable( ostype & ); // set default state to on, and return previous state32 bool sepDisable( ostype & ); // set default state to off, and return previous state 33 bool sepEnable( ostype & ); // set default state to on, and return previous state 34 34 35 35 const char * sepGet( ostype & ); // get separator string … … 57 57 58 58 forall( dtype ostype | ostream( ostype ) ) { 59 ostype & ?|?( ostype &, _Bool );59 ostype & ?|?( ostype &, bool ); 60 60 61 61 ostype & ?|?( ostype &, char ); … … 127 127 128 128 forall( dtype istype | istream( istype ) ) { 129 istype & ?|?( istype &, _Bool & );129 istype & ?|?( istype &, bool & ); 130 130 131 131 istype & ?|?( istype &, char & );
Note: See TracChangeset
for help on using the changeset viewer.