Ignore:
Timestamp:
Aug 2, 2024, 9:08:58 AM (38 hours ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
4db0140
Parents:
c141c09
Message:

add stream parameter to OSTYPE_VOID_IMPL macro and update all macro calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.cfa

    rc141c09 rb12e4ad  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jul 15 08:16:48 2024
    13 // Update Count     : 2020
     12// Last Modified On : Fri Aug  2 07:38:44 2024
     13// Update Count     : 2021
    1414//
    1515
     
    4747                return os;
    4848        } // ?|?
    49         OSTYPE_VOID_IMPL( bool )
     49        OSTYPE_VOID_IMPL( os, bool )
    5050
    5151        ostype & ?|?( ostype & os, char c ) {
     
    5454                return nosep( os );
    5555        } // ?|?
    56         OSTYPE_VOID_IMPL( char )
     56        OSTYPE_VOID_IMPL( os, char )
    5757
    5858        ostype & ?|?( ostype & os, signed char sc ) {
     
    6161                return os;
    6262        } // ?|?
    63         OSTYPE_VOID_IMPL( signed char )
     63        OSTYPE_VOID_IMPL( os, signed char )
    6464
    6565        ostype & ?|?( ostype & os, unsigned char usc ) {
     
    6868                return os;
    6969        } // ?|?
    70         OSTYPE_VOID_IMPL( unsigned char )
     70        OSTYPE_VOID_IMPL( os, unsigned char )
    7171
    7272        ostype & ?|?( ostype & os, short int si ) {
     
    7575                return os;
    7676        } // ?|?
    77         OSTYPE_VOID_IMPL( short int )
     77        OSTYPE_VOID_IMPL( os, short int )
    7878
    7979        ostype & ?|?( ostype & os, unsigned short int usi ) {
     
    8282                return os;
    8383        } // ?|?
    84         OSTYPE_VOID_IMPL( unsigned short int )
     84        OSTYPE_VOID_IMPL( os, unsigned short int )
    8585
    8686        ostype & ?|?( ostype & os, int i ) {
     
    8989                return os;
    9090        } // ?|?
    91         OSTYPE_VOID_IMPL( int )
     91        OSTYPE_VOID_IMPL( os, int )
    9292
    9393        ostype & ?|?( ostype & os, unsigned int ui ) {
     
    9696                return os;
    9797        } // ?|?
    98         OSTYPE_VOID_IMPL( unsigned int )
     98        OSTYPE_VOID_IMPL( os, unsigned int )
    9999
    100100        ostype & ?|?( ostype & os, long int li ) {
     
    103103                return os;
    104104        } // ?|?
    105         OSTYPE_VOID_IMPL( long int )
     105        OSTYPE_VOID_IMPL( os, long int )
    106106
    107107        ostype & ?|?( ostype & os, unsigned long int uli ) {
     
    110110                return os;
    111111        } // ?|?
    112         OSTYPE_VOID_IMPL( unsigned long int )
     112        OSTYPE_VOID_IMPL( os, unsigned long int )
    113113
    114114        ostype & ?|?( ostype & os, long long int lli ) {
     
    117117                return os;
    118118        } // ?|?
    119         OSTYPE_VOID_IMPL( long long int )
     119        OSTYPE_VOID_IMPL( os, long long int )
    120120
    121121        ostype & ?|?( ostype & os, unsigned long long int ulli ) {
     
    124124                return os;
    125125        } // ?|?
    126         OSTYPE_VOID_IMPL( unsigned long long int )
     126        OSTYPE_VOID_IMPL( os, unsigned long long int )
    127127
    128128        #if defined( __SIZEOF_INT128__ )
     
    156156                return os;
    157157        } // ?|?
    158         OSTYPE_VOID_IMPL( int128 )
     158        OSTYPE_VOID_IMPL( os, int128 )
    159159
    160160        ostype & ?|?( ostype & os, unsigned int128 ullli ) {
     
    163163                return os;
    164164        } // ?|?
    165         OSTYPE_VOID_IMPL( unsigned int128 )
     165        OSTYPE_VOID_IMPL( os, unsigned int128 )
    166166        #endif // __SIZEOF_INT128__
    167167
     
    186186                return os;
    187187        } // ?|?
    188         OSTYPE_VOID_IMPL( float )
     188        OSTYPE_VOID_IMPL( os, float )
    189189
    190190        ostype & ?|?( ostype & os, double d ) {
     
    193193                return os;
    194194        } // ?|?
    195         OSTYPE_VOID_IMPL( double )
     195        OSTYPE_VOID_IMPL( os, double )
    196196
    197197        ostype & ?|?( ostype & os, long double ld ) {
     
    200200                return os;
    201201        } // ?|?
    202         OSTYPE_VOID_IMPL( long double )
     202        OSTYPE_VOID_IMPL( os, long double )
    203203
    204204        ostype & ?|?( ostype & os, float _Complex fc ) {
     
    210210                return os;
    211211        } // ?|?
    212         OSTYPE_VOID_IMPL( float _Complex )
     212        OSTYPE_VOID_IMPL( os, float _Complex )
    213213
    214214        ostype & ?|?( ostype & os, double _Complex dc ) {
     
    220220                return os;
    221221        } // ?|?
    222         OSTYPE_VOID_IMPL( double _Complex )
     222        OSTYPE_VOID_IMPL( os, double _Complex )
    223223
    224224        ostype & ?|?( ostype & os, long double _Complex ldc ) {
     
    230230                return os;
    231231        } // ?|?
    232         OSTYPE_VOID_IMPL( long double _Complex )
     232        OSTYPE_VOID_IMPL( os, long double _Complex )
    233233
    234234        ostype & ?|?( ostype & os, const char s[] ) {
     
    273273//              return write( os, s, len );
    274274        } // ?|?
    275         OSTYPE_VOID_IMPL( const char * )
     275        OSTYPE_VOID_IMPL( os, const char * )
    276276
    277277//      ostype & ?|?( ostype & os, const char16_t s[] ) {
     
    300300                return os;
    301301        } // ?|?
    302         OSTYPE_VOID_IMPL( const void * )
     302        OSTYPE_VOID_IMPL( os, const void * )
    303303
    304304        // manipulators
     
    487487                return os; \
    488488        } /* ?|? */ \
    489         OSTYPE_VOID_IMPL( _Ostream_Manip(T) ) \
     489        OSTYPE_VOID_IMPL( os, _Ostream_Manip(T) ) \
    490490} // distribution
    491491
     
    585585                return os; \
    586586        } /* ?|? */ \
    587         OSTYPE_VOID_IMPL( _Ostream_Manip(T) ) \
     587        OSTYPE_VOID_IMPL( os, _Ostream_Manip(T) ) \
    588588} // distribution
    589589
     
    683683        } /* ?|? */ \
    684684\
    685         OSTYPE_VOID_IMPL( _Ostream_Manip(T) ) \
     685        OSTYPE_VOID_IMPL( os, _Ostream_Manip(T) ) \
    686686} // distribution
    687687
     
    718718                return os;
    719719        } // ?|?
    720         OSTYPE_VOID_IMPL( _Ostream_Manip(char) )
     720        OSTYPE_VOID_IMPL( os, _Ostream_Manip(char) )
    721721} // distribution
    722722
     
    765765                return os;
    766766        } // ?|?
    767         OSTYPE_VOID_IMPL( _Ostream_Manip(const char *) )
     767        OSTYPE_VOID_IMPL( os, _Ostream_Manip(const char *) )
    768768} // distribution
    769769
Note: See TracChangeset for help on using the changeset viewer.