Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    rdc9dd94 r8a97248  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jun 15 22:34:31 2023
    13 // Update Count     : 411
     12// Last Modified On : Thu Feb  2 11:25:39 2023
     13// Update Count     : 410
    1414//
    1515
     
    5151        int fmt( ostype &, const char format[], ... ) __attribute__(( format(printf, 2, 3) ));
    5252}; // basic_ostream
    53 
     53       
    5454forall( ostype & | basic_ostream( ostype ) )
    5555trait ostream {
     
    6868
    6969forall( T, ostype & | ostream( ostype ) )
    70 trait writeable {
     70        trait writeable {
    7171        ostype & ?|?( ostype &, T );
    7272}; // writeable
     
    161161// *********************************** manipulators ***********************************
    162162
    163 struct _Ostream_Flags {
    164         unsigned char eng:1;                                                            // engineering notation
    165         unsigned char neg:1;                                                            // val is negative
    166         unsigned char pc:1;                                                                     // precision specified
    167         unsigned char left:1;                                                           // left justify
    168         unsigned char nobsdp:1;                                                         // base prefix / decimal point
    169         unsigned char sign:1;                                                           // plus / minus sign
    170         unsigned char pad0:1;                                                           // zero pad
    171 };
    172 
    173163forall( T )
    174164struct _Ostream_Manip {
     
    178168        union {
    179169                unsigned char all;
    180                 _Ostream_Flags flags;
     170                struct {
     171                        unsigned char eng:1;                                            // engineering notation
     172                        unsigned char neg:1;                                            // val is negative
     173                        unsigned char pc:1;                                                     // precision specified
     174                        unsigned char left:1;                                           // left justify
     175                        unsigned char nobsdp:1;                                         // base prefix / decimal point
     176                        unsigned char sign:1;                                           // plus / minus sign
     177                        unsigned char pad0:1;                                           // zero pad
     178                } flags;
    181179        };
    182180}; // _Ostream_Manip
Note: See TracChangeset for help on using the changeset viewer.