Add note about circular queue append contiguosity guarantees
This commit is contained in:
parent
535eafb57a
commit
6b9be2edd4
1 changed files with 3 additions and 0 deletions
|
@ -119,6 +119,9 @@ namespace skyline {
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* @note The appended elements may not necessarily be directly contiguous as another thread could push elements in between those in the span
|
||||
*/
|
||||
void Append(span<Type> buffer) {
|
||||
for (const auto &item : buffer)
|
||||
Push(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue