Boost logo

Boost :

Subject: [boost] [intrusive]: determine the hook type of intrusive::list<>?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2015-10-18 03:25:05

I'd like to determine the hook type of an intrusive container

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

In the documentation I didn't found a hint.

Boost list run by bdawes at, gregod at, cpdaniel at, john at