|
Boost Users : |
Subject: Re: [Boost-users] [intrusive] first impression and constant-time removal
From: Erik Cassel (erik_at_[hidden])
Date: 2009-02-05 16:57:41
Ion,
> is_linked is not enough because the element could be linked
> in another list. The programmer must be sure that the element
> is in the list to form a correct iterator.
Good point. I see that it is incumbent upon the developer to make these
decisions. I'll encapsulate my logic as needed.
Thank you for your comments!
-Erik
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