Changeset d60a4c2 for libcfa/src/bits
- Timestamp:
- Jan 11, 2025, 5:48:46 PM (13 months ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- f886608
- Parents:
- 7d65715f (diff), 32a119e9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
libcfa/src/bits/queue.hfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/queue.hfa
r7d65715f rd60a4c2 33 33 } 34 34 35 T * succ( Queue(T) & q, T * n ) with( q ) {// pre: *n in *q36 #ifdef __CFA_DEBUG__35 T * succ( Queue(T) & q, T * n ) { // pre: *n in *q 36 #ifdef __CFA_DEBUG__ 37 37 if ( ! listed( n ) ) abort( "(Queue &)%p.succ( %p ) : Node is not on a list.", &q, n ); 38 #endif // __CFA_DEBUG__ 38 #else 39 (void) q; 40 #endif // __CFA_DEBUG__ 39 41 return (Next( n ) == n) ? 0p : Next( n ); 40 42 } // post: n == tail() & succ(n) == 0 | n != tail() & *succ(n) in *q
Note:
See TracChangeset
for help on using the changeset viewer.