Boost logo

Boost Users :

Subject: [Boost-users] [intrusive] list traversing by list_base_hooks
From: Tim Blechmann (tim_at_[hidden])
Date: 2009-09-23 07:11:10


hi all,

is there a way to traverse a boost::intrusive::list directly from the
list_base_hook?

i'd like to traverse the list directly from the node something like:
my_node: public list_base_hook<>
{
    my_node * previous_node();
    my_node * next_node();
};

is it possible to implement something like that?

thnx, tim

-- 
tim_at_[hidden]
http://tim.klingt.org
/"\  ASCII Ribbon Campaign
\ /   no HTML in email & vCards
 X     no proprietary attachments
/ \     use open standards



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