Ignore:
Timestamp:
Aug 14, 2018, 1:21:19 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
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.
Message:

Merge branch 'master' into jenkins-sandbox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    ref2eade r7b3a6e6  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Jul  1 12:12:22 2018
    13 // Update Count     : 155
     12// Last Modified On : Sat Aug 11 08:22:49 2018
     13// Update Count     : 156
    1414//
    1515
     
    2020trait ostream( dtype ostype ) {
    2121        // private
    22         _Bool sepPrt( ostype & );                                                       // return separator state (on/off)
     22        bool sepPrt( ostype & );                                                        // return separator state (on/off)
    2323        void sepReset( ostype & );                                                      // set separator state to default state
    24         void sepReset( ostype &, _Bool );                                       // set separator and default state
     24        void sepReset( ostype &, bool );                                        // set separator and default state
    2525        const char * sepGetCur( ostype & );                                     // get current separator string
    2626        void sepSetCur( ostype &, const char * );                       // set current separator string
    27         _Bool getNL( ostype & );                                                        // check newline
    28         void setNL( ostype &, _Bool );                                          // saw newline
     27        bool getNL( ostype & );                                                 // check newline
     28        void setNL( ostype &, bool );                                           // saw newline
    2929        // public
    3030        void sepOn( ostype & );                                                         // turn separator state on
    3131        void sepOff( ostype & );                                                        // turn separator state off
    32         _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
     32        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
    3434
    3535        const char * sepGet( ostype & );                                        // get separator string
     
    5757
    5858forall( dtype ostype | ostream( ostype ) ) {
    59         ostype & ?|?( ostype &, _Bool );
     59        ostype & ?|?( ostype &, bool );
    6060
    6161        ostype & ?|?( ostype &, char );
     
    127127
    128128forall( dtype istype | istream( istype ) ) {
    129         istype & ?|?( istype &, _Bool & );
     129        istype & ?|?( istype &, bool & );
    130130
    131131        istype & ?|?( istype &, char & );
Note: See TracChangeset for help on using the changeset viewer.