Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/iostream

    r86f384b r9ebd778  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Jul  2 08:42:56 2017
    13 // Update Count     : 110
     12// Last Modified On : Mon May 15 18:08:44 2017
     13// Update Count     : 105
    1414//
    1515
     
    2626        const char * sepGetCur( ostype * );                                     // get current separator string
    2727        void sepSetCur( ostype *, const char * );                       // set current separator string
    28         _Bool lastSepOn( ostype * );                                            // last manipulator is setOn (context sensitive)
    2928        // public
    3029        void sepOn( ostype * );                                                         // turn separator state on
     
    4443        ostype * write( ostype *, const char *, unsigned long int );
    4544        int fmt( ostype *, const char fmt[], ... );
    46 }; // ostream
     45};
    4746
    4847trait writeable( otype T ) {
    4948        forall( dtype ostype | ostream( ostype ) ) ostype * ?|?( ostype *, T );
    50 }; // writeable
     49};
    5150
    5251// implement writable for intrinsic types
     
    104103        istype * ungetc( istype *, char );
    105104        int fmt( istype *, const char fmt[], ... );
    106 }; // istream
     105};
    107106
    108107trait readable( otype T ) {
    109108        forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, T );
    110 }; // readable
     109};
    111110
    112111forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, char * );
Note: See TracChangeset for help on using the changeset viewer.