Ignore:
Timestamp:
Dec 17, 2020, 12:28:03 PM (10 months ago)
Author:
Colby Alexander Parsons <caparsons@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
7522692
Parents:
28e88d7
Message:

removed listed requirement for collections since it was redundant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/collection.hfa

    r28e88d7 r19de7864  
    3535        //              return (T *)Next( (Colable *)n );
    3636        //      }
    37 
    38         //      bool listed( T * n ) {
    39         //              return Next( (Colable *)n ) != 0p;
    40         //      }
    4137        // } // distribution
    4238} // distribution
    4339
     40forall( dtype T | { T *& Next ( T * ); } ) {
     41        bool listed( T * n ) {
     42                return Next( n ) != 0p;
     43        }
     44}
    4445
    4546struct Collection {
Note: See TracChangeset for help on using the changeset viewer.