Changeset 5454d77


Ignore:
Timestamp:
Jul 18, 2023, 12:22:32 PM (10 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
c635047, db94b5d
Parents:
94d2544
Message:

update types to use new void-creation stream macros

Location:
libcfa/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/rational.cfa

    r94d2544 r5454d77  
    1010// Created On       : Wed Apr  6 17:54:28 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jun  5 22:49:06 2023
    13 // Update Count     : 196
     12// Last Modified On : Tue Jul 18 11:07:10 2023
     13// Update Count     : 197
    1414//
    1515
     
    206206                        return os | r.numerator | '/' | r.denominator;
    207207                } // ?|?
    208 
    209                 void ?|?( ostype & os, rational(T) r ) {
    210                         (ostype &)(os | r); ends( os );
    211                 } // ?|?
     208                OSTYPE_VOID_IMPL( rational(T) )
    212209        } // distribution
    213210} // distribution
  • libcfa/src/rational.hfa

    r94d2544 r5454d77  
    1212// Created On       : Wed Apr  6 17:56:25 2016
    1313// Last Modified By : Peter A. Buhr
    14 // Last Modified On : Mon Jun  5 22:49:05 2023
    15 // Update Count     : 119
     14// Last Modified On : Tue Jul 18 11:08:24 2023
     15// Update Count     : 121
    1616//
    1717
     
    7878        forall( ostype & | ostream( ostype ) | { ostype & ?|?( ostype &, T ); } ) {
    7979                ostype & ?|?( ostype &, rational(T) );
    80                 void ?|?( ostype &, rational(T) );
     80                OSTYPE_VOID( rational(T) );
    8181        } // distribution
    8282} // distribution
  • libcfa/src/time.cfa

    r94d2544 r5454d77  
    1010// Created On       : Tue Mar 27 13:33:14 2018
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Feb  4 08:24:18 2020
    13 // Update Count     : 70
     12// Last Modified On : Tue Jul 18 10:55:01 2023
     13// Update Count     : 71
    1414//
    1515
     
    4343                return os;
    4444        } // ?|?
    45 
    46         void ?|?( ostype & os, Duration dur ) with( dur ) {
    47                 (ostype &)(os | dur); ends( os );
    48         } // ?|?
     45        OSTYPE_VOID_IMPL( Duration )
    4946} // distribution
    5047
     
    155152                return os;
    156153        } // ?|?
    157 
    158         void ?|?( ostype & os, Time time ) with( time ) {
    159                 (ostype &)(os | time); ends( os );
    160         } // ?|?
     154        OSTYPE_VOID_IMPL( Time )
    161155} // distribution
    162156
  • libcfa/src/vec/vec2.hfa

    r94d2544 r5454d77  
    283283        return os | '<' | x | ',' | y | '>';
    284284    }
    285     void ?|?(ostype & os, vec2(T) v ) with (v) {
    286         (ostype &)(os | v); ends(os);
    287     }
     285        OSTYPE_VOID_IMPL( vec2(T) )
    288286}
  • libcfa/src/vec/vec3.hfa

    r94d2544 r5454d77  
    292292        return os | '<' | x | ',' | y | ',' | z | '>';
    293293    }
    294     void ?|?(ostype & os, vec3(T) v ) with (v) {
    295         (ostype &)(os | v); ends(os);
    296     }
     294        OSTYPE_VOID_IMPL( vec3(T) )
    297295}
  • libcfa/src/vec/vec4.hfa

    r94d2544 r5454d77  
    287287        return os | '<' | x | ',' | y | ',' | z | ',' | w | '>';
    288288    }
    289     void ?|?(ostype & os, vec4(T) v ) with (v) {
    290         (ostype &)(os | v); ends(os);
    291     }
     289        OSTYPE_VOID_IMPL( vec4(T) )
    292290}
    293291
Note: See TracChangeset for help on using the changeset viewer.