Fix Ddoc
This commit is contained in:
@ -632,7 +632,7 @@ struct WriteBuffer(T = ubyte)
|
||||
* written.
|
||||
*
|
||||
* $(D_PSYMBOL opIndex) may return only part of the data. You may need
|
||||
* to call it (and set $(D_KEYWORD +=) several times until
|
||||
* to call it and set $(D_KEYWORD +=) several times until
|
||||
* $(D_PSYMBOL length) is 0. If all the data can be written,
|
||||
* maximally 3 calls are required.
|
||||
*
|
||||
@ -677,7 +677,7 @@ struct WriteBuffer(T = ubyte)
|
||||
* written.
|
||||
*
|
||||
* $(D_PSYMBOL opIndex) may return only part of the data. You may need
|
||||
* to call it (and set $(D_KEYWORD +=) several times until
|
||||
* to call it and set $(D_KEYWORD +=) several times until
|
||||
* $(D_PSYMBOL length) is 0. If all the data can be written,
|
||||
* maximally 3 calls are required.
|
||||
*
|
||||
|
@ -353,7 +353,6 @@ struct Vector(T)
|
||||
*
|
||||
* Params:
|
||||
* len = Initial length of the vector.
|
||||
* init = Initial value to fill the vector with.
|
||||
* allocator = Allocator.
|
||||
*/
|
||||
this(size_t len, shared Allocator allocator = defaultAllocator) @trusted
|
||||
@ -369,7 +368,14 @@ struct Vector(T)
|
||||
capacity_ = length_ = len;
|
||||
}
|
||||
|
||||
/// Ditto.
|
||||
/**
|
||||
* Creates a new $(D_PSYMBOL Vector).
|
||||
*
|
||||
* Params:
|
||||
* len = Initial length of the vector.
|
||||
* init = Initial value to fill the vector with.
|
||||
* allocator = Allocator.
|
||||
*/
|
||||
this(size_t len, T init, shared Allocator allocator = defaultAllocator) @trusted
|
||||
{
|
||||
this(allocator);
|
||||
@ -892,7 +898,6 @@ struct Vector(T)
|
||||
* Comparison for equality.
|
||||
*
|
||||
* Params:
|
||||
* R = Right hand side type.
|
||||
* v = The vector to compare with.
|
||||
*
|
||||
* Returns: $(D_KEYWORD true) if the vectors are equal, $(D_KEYWORD false)
|
||||
@ -952,7 +957,16 @@ struct Vector(T)
|
||||
return true;
|
||||
}
|
||||
|
||||
/// Ditto.
|
||||
/**
|
||||
* Comparison for equality.
|
||||
*
|
||||
* Params:
|
||||
* R = Right hand side type.
|
||||
* v = The vector to compare with.
|
||||
*
|
||||
* Returns: $(D_KEYWORD true) if the vectors are equal, $(D_KEYWORD false)
|
||||
* otherwise.
|
||||
*/
|
||||
bool opEquals(R)(Range!R v) const @trusted
|
||||
if (is(Unqual!R == T))
|
||||
{
|
||||
|
Reference in New Issue
Block a user