Boost logo

Boost Users :

Subject: [Boost-users] [intrusive] accessing the hook type?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2015-10-17 12:04:40


I'd like to determine the hook type of an intrusive container
(intrusive::list):

template< typename List >
void do_link( List & lst) {
   static_assert(std::is_same< typename List::???, my_hook_type >::value);
   lst.push_back( * this);
}



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