Section C.4

LRM-88

Changes:

The List_Iterator class provides methods to iterate over the elements of lists. These methods are described below.

 

Any iterator that refers to the position of an element that is removed from a list becomes invalid, thus, unable to iterate over the list.

Section C.4.2

LRM-250

Changes:

 

prev changes the iterator so that it refers to the previous element in the list.:

Section C.4.3

LRM-251

Changes:

if( i1.eqeq(i2) ) $display("both iterators refer to the same element");

Section C.5.6

LRM-251

Changes:

$display( numbers.front front, numbers.back ); // displays 1 3

Section C.5.10

LRM-251

Changes:

for ( List_Iterator#(int) p = lst.start; p.neq neq(lst.finish finish); p.next )

Section C.5.11

LRM-251

Changes:

for ( List_Iterator#(byte) p = L.start; p.neq neq(L.finish) ; p.next )