Boost logo

Boost Users :

Subject: Re: [Boost-users] [Intrusive] Obtaining end iterator from value reference
From: Nat Goodspeed (nat_at_[hidden])
Date: 2013-04-29 21:00:57


On Apr 29, 2013, at 12:34 PM, Ion Gaztañaga <igaztanaga_at_[hidden]> wrote:

> There is no way to obtain the end node from a node in a circular list, as there is no runtime information stored in the ring that marks the end node.

But with a (non-empty) circular list, can't you just iterate until you return to your starting point?
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net