Skip to content

Commit 65d6970

Browse files
authored
Merge pull request #308 from r8bhavneet/master
Update README.md
2 parents d49fa2b + 08dcafc commit 65d6970

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ in order to obtain an effective number of pre-allocated element slots is non-obv
276276

277277
First, be aware that the count passed is rounded up to the next multiple of the block size. Note that the
278278
default block size is 32 (this can be changed via the traits). Second, once a slot in a block has been
279-
enqueued to, that slot cannot be re-used until the rest of the block has completely been completely filled
279+
enqueued to, that slot cannot be re-used until the rest of the block has been completely filled
280280
up and then completely emptied. This affects the number of blocks you need in order to account for the
281281
overhead of partially-filled blocks. Third, each producer (whether implicit or explicit) claims and recycles
282282
blocks in a different manner, which again affects the number of blocks you need to account for a desired number of
@@ -324,7 +324,7 @@ so be sure to reserve enough capacity in the target container first if you do th
324324
The guarantees are presently as follows:
325325
- Enqueue operations are rolled back completely if an exception is thrown from an element's constructor.
326326
For bulk enqueue operations, this means that elements are copied instead of moved (in order to avoid
327-
having only some of the objects be moved in the event of an exception). Non-bulk enqueues always use
327+
having only some objects moved in the event of an exception). Non-bulk enqueues always use
328328
the move constructor if one is available.
329329
- If the assignment operator throws during a dequeue operation (both single and bulk), the element(s) are
330330
considered dequeued regardless. In such a case, the dequeued elements are all properly destructed before

0 commit comments

Comments
 (0)