Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    rc635047 r94d2544  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul 18 15:57:21 2023
    13 // Update Count     : 462
     12// Last Modified On : Tue Jul 18 10:42:52 2023
     13// Update Count     : 438
    1414//
    1515
     
    138138        OSTYPE_VOID( const void * );
    139139
    140         // forall( T | { ostype & ?|?( ostype &, T ); } )
    141         // void ?|?( ostype & os, T );
    142 
    143140        // manipulators
    144141        ostype & ?|?( ostype &, ostype & (*)( ostype & ) );
     
    217214forall( ostype & | basic_ostream( ostype ) ) { \
    218215        ostype & ?|?( ostype & os, _Ostream_Manip(T) f ); \
    219         OSTYPE_VOID( _Ostream_Manip(T) ); \
     216        void ?|?( ostype & os, _Ostream_Manip(T) f ); \
    220217} // ?|?
    221218
     
    262259forall( ostype & | basic_ostream( ostype ) ) { \
    263260        ostype & ?|?( ostype & os, _Ostream_Manip(T) f ); \
    264         OSTYPE_VOID( _Ostream_Manip(T) ); \
     261        void ?|?( ostype & os, _Ostream_Manip(T) f ); \
    265262} // ?|?
    266263
     
    282279forall( ostype & | basic_ostream( ostype ) ) {
    283280        ostype & ?|?( ostype & os, _Ostream_Manip(char) f );
    284         OSTYPE_VOID( _Ostream_Manip(char) ); \
     281        void ?|?( ostype & os, _Ostream_Manip(char) f );
    285282} // ?|?
    286283
     
    300297forall( ostype & | basic_ostream( ostype ) ) {
    301298        ostype & ?|?( ostype & os, _Ostream_Manip(const char *) f );
    302         OSTYPE_VOID( _Ostream_Manip(const char *) ); \
     299        void ?|?( ostype & os, _Ostream_Manip(const char *) f );
    303300} // ?|?
    304301
     
    309306#define ISTYPE_VOID( T ) void ?|?( istype &, T )
    310307#define ISTYPE_VOID_IMPL( T ) \
    311         void ?|?( istype & is, T t ) { \
     308        void ?|?( istype & is, T & t ) { \
    312309                (istype &)(is | t); ends( is ); \
    313310        } // ?|?
     
    390387//      istype & ?|?( istype &, const char [] );
    391388        istype & ?|?( istype &, char [] );
    392         ISTYPE_VOID( char * );
     389        void ?|?( istype &, char [] );
    393390
    394391        // manipulators
     
    429426forall( istype & | basic_istream( istype ) ) {
    430427        istype & ?|?( istype & is, _Istream_Cstr f );
    431         ISTYPE_VOID( _Istream_Cstr );
     428        void ?|?( istype & is, _Istream_Cstr f );
    432429}
    433430
     
    442439forall( istype & | basic_istream( istype ) ) {
    443440        istype & ?|?( istype & is, _Istream_Char f );
    444         ISTYPE_VOID( _Istream_Char );
     441        void ?|?( istype & is, _Istream_Char f );
    445442}
    446443
     
    461458forall( istype & | basic_istream( istype ) ) { \
    462459        istype & ?|?( istype & is, _Istream_Manip(T) f ); \
    463         ISTYPE_VOID( _Istream_Manip(T) ); \
     460        void ?|?( istype & is, _Istream_Manip(T) f ); \
    464461} // ?|?
    465462
     
    491488forall( ostype & | ostream( ostype ) ) {
    492489        ostype & ?|?( ostype & os, Duration dur );
    493         OSTYPE_VOID( Duration );
     490        void ?|?( ostype & os, Duration dur );
    494491        ostype & ?|?( ostype & os, Time time );
    495         OSTYPE_VOID( Time );
     492        void ?|?( ostype & os, Time time );
    496493} // distribution
    497494
Note: See TracChangeset for help on using the changeset viewer.