|
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
(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);
}
In the documentation I didn't found a hint.
Oliver
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk