Ignore:
Timestamp:
Jul 5, 2020, 4:04:20 PM (16 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
9ec8c5f
Parents:
74cfafb2
Message:

new version for printing int128 values including manipulators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    r74cfafb2 r2c60c644  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jun 19 16:15:56 2020
    13 // Update Count     : 338
     12// Last Modified On : Sat Jul  4 18:31:48 2020
     13// Update Count     : 343
    1414//
    1515
     
    166166                unsigned char all;
    167167                struct {
     168                        unsigned char neg:1;                                            // val is negative
    168169                        unsigned char pc:1;                                                     // precision specified
    169170                        unsigned char left:1;                                           // left justify
     
    370371
    371372static inline {
    372         _Istream_Char ignore( const char c ) { return (_Istream_Char)@{ true }; }
     373        _Istream_Char ignore( const char ) { return (_Istream_Char)@{ true }; }
    373374        _Istream_Char & ignore( _Istream_Char & fmt ) { fmt.ignore = true; return fmt; }
    374375} // distribution
    375376forall( dtype istype | istream( istype ) ) istype & ?|?( istype & is, _Istream_Char f );
    376377
    377 forall( otype T )
     378forall( dtype T | sized( T ) )
    378379struct _Istream_Manip {
    379380        T & val;                                                                                        // polymorphic base-type
Note: See TracChangeset for help on using the changeset viewer.