Ignore:
Timestamp:
Mar 29, 2026, 9:52:51 PM (3 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
e6e250d
Parents:
00675ed4
Message:

2nd 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

    r00675ed4 r81ab5eb  
    1010// Created On       : Wed Apr 22 18:00:00 2020
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Mar 27 08:02:56 2026
    13 // Update Count     : 99
     12// Last Modified On : Sun Mar 29 21:20:44 2026
     13// Update Count     : 101
    1414//
    1515
     
    206206        }
    207207
    208         bool isEmpty( dlist( tE, tLinks ) & list ) {
     208        bool isEmpty( dlist( tE, tLinks ) & list ) {            // deprecated
    209209                return empty( list );
    210210        }
     
    413413        // Transfer the "from" list to the end of this sequence; the "from" list is empty after the transfer.
    414414//      void transfer( dlist( tE, tLinks ) & to, dlist( tE, tLinks ) & from ) {
    415 //              if ( isEmpty( from ) ) return;                                  // "from" list empty ?
    416 //              if ( isEmpty( to ) ) {                                                  // "to" list empty ?
     415//              if ( empty( from ) ) return;                                    // "from" list empty ?
     416//              if ( empty( to ) ) {                                                    // "to" list empty ?
    417417//                      root = from.root;
    418418//              } else {                                                                                // "to" list not empty
Note: See TracChangeset for help on using the changeset viewer.