removing element from DList

Jack Applegame japplegame at gmail.com
Mon Nov 5 12:59:05 PST 2012


On Monday, 5 November 2012 at 19:31:25 UTC, Jonathan M Davis 
wrote:
> If all you want is the
> last element, then use list[].back, since DList's range is 
> bidirectional.
>
> - Jonathan M Davis
No. I want after inserting element, remember its "position" (in 
C++ I used iterator) and remove it later even if other elements 
was inserted after it.



More information about the Digitalmars-d-learn mailing list