Ignore:
Timestamp:
Mar 27, 2026, 8:18:19 AM (6 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
81ab5eb
Parents:
4226eed
Message:

1st attempt at harmonizing isOp functions, e.g., isEmpty, to C/C++ form empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/collections/list.hfa

    r4226eed r00675ed4  
    1010// Created On       : Wed Apr 22 18:00:00 2020
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Mar 24 11:25:34 2026
    13 // Update Count     : 98
     12// Last Modified On : Fri Mar 27 08:02:56 2026
     13// Update Count     : 99
    1414//
    1515
     
    200200        }
    201201
    202         bool isEmpty( dlist( tE, tLinks ) & list ) {
     202        bool empty( dlist( tE, tLinks ) & list ) {
    203203                tE * firstPtr = list.next;
    204204                if ( ORIGIN_TAG_QUERY(( size_t)firstPtr) ) firstPtr = 0p;
    205205                return firstPtr == 0p;
     206        }
     207
     208        bool isEmpty( dlist( tE, tLinks ) & list ) {
     209                return empty( list );
    206210        }
    207211
Note: See TracChangeset for help on using the changeset viewer.