Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    r86a8be5 r891b827  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jun 10 18:05:13 2019
    13 // Update Count     : 320
     12// Last Modified On : Sun Jun  9 22:46:17 2019
     13// Update Count     : 315
    1414//
    1515
     
    347347static inline _Istream_Cstr excl( const char * scanset, _Istream_Cstr & fmt ) { fmt.scanset = scanset; fmt.flags.inex = true; return fmt; }
    348348static inline _Istream_Cstr cstr( char * s ) { return (_Istream_Cstr){ s, 0p, -1, { .all : 0 } }; }
    349 static inline _Istream_Cstr ignore( const char * s ) { return (_Istream_Cstr)@{ 0p, 0p, -1, { .flags.ignore : true } }; }
     349static inline _Istream_Cstr ignore( const char * s ) { return (_Istream_Cstr)@{ s, 0p, -1, { .flags.ignore : true } }; }
    350350static inline _Istream_Cstr ignore( _Istream_Cstr & fmt ) { fmt.flags.ignore = true; return fmt; }
    351351static inline _Istream_Cstr wd( unsigned int w, char * s ) { return (_Istream_Cstr)@{ s, 0p, w, { .all : 0 } }; }
    352352static inline _Istream_Cstr wd( unsigned int w, _Istream_Cstr & fmt ) { fmt.wd = w; return fmt; }
    353 forall( dtype istype | istream( istype ) ) istype & ?|?( istype & is, _Istream_Cstr f );
    354 
    355 struct _Istream_Char {
    356         bool ignore;                                                                            // do not change input argument
    357 }; // _Istream_Char
    358 
    359 static inline _Istream_Char ignore( const char c ) { return (_Istream_Char)@{ true }; }
    360 static inline _Istream_Char ignore( _Istream_Char & fmt ) { fmt.ignore = true; return fmt; }
    361 forall( dtype istype | istream( istype ) ) istype & ?|?( istype & is, _Istream_Char f );
     353forall( dtype istype | istream( istype ) ) istype & ?|?( istype &, _Istream_Cstr );
    362354
    363355forall( otype T )
     
    376368} // ?|?
    377369
     370InputFMTDecl( char )
    378371InputFMTDecl( signed char )
    379372InputFMTDecl( unsigned char )
Note: See TracChangeset for help on using the changeset viewer.