removing element from DList

cal callumenator at gmail.com
Mon Nov 5 10:52:23 PST 2012


On Monday, 5 November 2012 at 16:41:16 UTC, Jack Applegame wrote:
> How to get range for single just inserted element?
>
> DList!int list;
> ...
> list.insertBack(5);
> auto r = ??? // get range for single last element
> ...
> list.insertBack(something);
> ...
> list.remove(r);

http://forum.dlang.org/thread/cfkllwgfushidyuwzuwp@forum.dlang.org


More information about the Digitalmars-d-learn mailing list