Switch to container.queue. Remove PendingQueue

This commit is contained in:
2016-12-02 19:18:37 +01:00
parent 1123d01e6c
commit f7f92e7906
10 changed files with 1289 additions and 1399 deletions

View File

@ -121,7 +121,7 @@ class Queue(T)
/**
* Returns: $(D_KEYWORD true) if the queue is empty.
*/
@property bool empty() inout const
@property bool empty() inout const pure nothrow @safe @nogc
{
return first.next is null;
}
@ -170,7 +170,8 @@ class Queue(T)
}
/**
* $(D_KEYWORD foreach) iteration.
* $(D_KEYWORD foreach) iteration. The elements will be automatically
* dequeued.
*
* Params:
* dg = $(D_KEYWORD foreach) body.