Queue whitespaces.
This commit is contained in:
parent
2688591c6a
commit
424e6e5f98
|
@ -17,20 +17,18 @@ import std.traits;
|
||||||
|
|
||||||
package:
|
package:
|
||||||
|
|
||||||
/**
|
/// Simple queue implemented as a singly linked list with a tail pointer.
|
||||||
* Simple queue implemented as a singly linked list with a tail pointer.
|
///
|
||||||
*
|
/// Needed in some D:YAML code that needs a queue-like structure without too much
|
||||||
* Needed in some D:YAML code that needs a queue-like structure without too
|
/// reallocation that goes with an array.
|
||||||
* much reallocation that goes with an array.
|
///
|
||||||
*
|
/// This should be replaced once Phobos has a decent queue/linked list.
|
||||||
* This should be replaced once Phobos has a decent queue/linked list.
|
///
|
||||||
*
|
/// Uses manual allocation through malloc/free.
|
||||||
* Uses manual allocation through malloc/free.
|
///
|
||||||
*
|
/// Also has some features uncommon for a queue, e.g. iteration. Couldn't bother with
|
||||||
* Also has some features uncommon for a queue, e.g. iteration.
|
/// implementing a range, as this is used only as a placeholder until Phobos gets a
|
||||||
* Couldn't bother with implementing a range, as this is used only as
|
/// decent replacement.
|
||||||
* a placeholder until Phobos gets a decent replacement.
|
|
||||||
*/
|
|
||||||
struct Queue(T)
|
struct Queue(T)
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue