Ignore:
Timestamp:
May 18, 2025, 8:26:51 AM (8 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
1e28e05
Parents:
bd72f517
Message:

fix bugs reading enumerators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    rbd72f517 r0528d79  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Apr 14 20:42:53 2025
    13 // Update Count     : 767
     12// Last Modified On : Mon May 12 17:29:29 2025
     13// Update Count     : 769
    1414//
    1515
     
    317317} // ?|?
    318318
     319
    319320// *********************************** istream ***********************************
     321
    320322
    321323forall( istype & )
     
    528530INPUT_FMT_DECL( long double _Complex )
    529531
     532// *********************************** enumerations ***********************************
     533
     534forall( istype & | istream( istype ), E | CfaEnum( E ) | Serial(E) )
     535istype & ?|?( istype &, E & );
     536
     537forall( ostype & | ostream( ostype ), E | CfaEnum( E ) ) {
     538        ostype & ?|?( ostype &, E );
     539        OSTYPE_VOID( E );
     540}
     541
    530542// *********************************** time ***********************************
    531543
     
    539551} // distribution
    540552
    541 forall( istype & | istream( istype ), E | CfaEnum( E ) | Serial(E) )
    542 istype & ?|?( istype &, E & );
    543 
    544 forall( ostype & | ostream( ostype ), E | CfaEnum( E ) ) {
    545         ostype & ?|?( ostype &, E );
    546         OSTYPE_VOID( E );
    547 }
    548 
    549553// Local Variables: //
    550554// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.