util/IntrusiveList: document insert()
This commit is contained in:
parent
cc9d061e51
commit
f1b497fb0c
|
@ -486,6 +486,12 @@ public:
|
|||
insert(end(), t);
|
||||
}
|
||||
|
||||
/**
|
||||
* Insert a new item before the given position.
|
||||
*
|
||||
* @param p a valid iterator (end() is allowed)for this list
|
||||
* describing the position where to insert
|
||||
*/
|
||||
void insert(iterator p, reference t) noexcept {
|
||||
static_assert(!constant_time_size ||
|
||||
GetHookMode() < IntrusiveHookMode::AUTO_UNLINK,
|
||||
|
|
Loading…
Reference in New Issue