Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    r94d2544 rc635047  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul 18 10:42:52 2023
    13 // Update Count     : 438
     12// Last Modified On : Tue Jul 18 15:57:21 2023
     13// Update Count     : 462
    1414//
    1515
     
    138138        OSTYPE_VOID( const void * );
    139139
     140        // forall( T | { ostype & ?|?( ostype &, T ); } )
     141        // void ?|?( ostype & os, T );
     142
    140143        // manipulators
    141144        ostype & ?|?( ostype &, ostype & (*)( ostype & ) );
     
    214217forall( ostype & | basic_ostream( ostype ) ) { \
    215218        ostype & ?|?( ostype & os, _Ostream_Manip(T) f ); \
    216         void ?|?( ostype & os, _Ostream_Manip(T) f ); \
     219        OSTYPE_VOID( _Ostream_Manip(T) ); \
    217220} // ?|?
    218221
     
    259262forall( ostype & | basic_ostream( ostype ) ) { \
    260263        ostype & ?|?( ostype & os, _Ostream_Manip(T) f ); \
    261         void ?|?( ostype & os, _Ostream_Manip(T) f ); \
     264        OSTYPE_VOID( _Ostream_Manip(T) ); \
    262265} // ?|?
    263266
     
    279282forall( ostype & | basic_ostream( ostype ) ) {
    280283        ostype & ?|?( ostype & os, _Ostream_Manip(char) f );
    281         void ?|?( ostype & os, _Ostream_Manip(char) f );
     284        OSTYPE_VOID( _Ostream_Manip(char) ); \
    282285} // ?|?
    283286
     
    297300forall( ostype & | basic_ostream( ostype ) ) {
    298301        ostype & ?|?( ostype & os, _Ostream_Manip(const char *) f );
    299         void ?|?( ostype & os, _Ostream_Manip(const char *) f );
     302        OSTYPE_VOID( _Ostream_Manip(const char *) ); \
    300303} // ?|?
    301304
     
    306309#define ISTYPE_VOID( T ) void ?|?( istype &, T )
    307310#define ISTYPE_VOID_IMPL( T ) \
    308         void ?|?( istype & is, T & t ) { \
     311        void ?|?( istype & is, T t ) { \
    309312                (istype &)(is | t); ends( is ); \
    310313        } // ?|?
     
    387390//      istype & ?|?( istype &, const char [] );
    388391        istype & ?|?( istype &, char [] );
    389         void ?|?( istype &, char [] );
     392        ISTYPE_VOID( char * );
    390393
    391394        // manipulators
     
    426429forall( istype & | basic_istream( istype ) ) {
    427430        istype & ?|?( istype & is, _Istream_Cstr f );
    428         void ?|?( istype & is, _Istream_Cstr f );
     431        ISTYPE_VOID( _Istream_Cstr );
    429432}
    430433
     
    439442forall( istype & | basic_istream( istype ) ) {
    440443        istype & ?|?( istype & is, _Istream_Char f );
    441         void ?|?( istype & is, _Istream_Char f );
     444        ISTYPE_VOID( _Istream_Char );
    442445}
    443446
     
    458461forall( istype & | basic_istream( istype ) ) { \
    459462        istype & ?|?( istype & is, _Istream_Manip(T) f ); \
    460         void ?|?( istype & is, _Istream_Manip(T) f ); \
     463        ISTYPE_VOID( _Istream_Manip(T) ); \
    461464} // ?|?
    462465
     
    488491forall( ostype & | ostream( ostype ) ) {
    489492        ostype & ?|?( ostype & os, Duration dur );
    490         void ?|?( ostype & os, Duration dur );
     493        OSTYPE_VOID( Duration );
    491494        ostype & ?|?( ostype & os, Time time );
    492         void ?|?( ostype & os, Time time );
     495        OSTYPE_VOID( Time );
    493496} // distribution
    494497
Note: See TracChangeset for help on using the changeset viewer.