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