mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 16:40:48 +03:00
remove wrong ddoc and make disable default ctor
This commit is contained in:
parent
4b3d0ed23c
commit
d3a933b748
1 changed files with 2 additions and 5 deletions
|
@ -2636,7 +2636,7 @@ do
|
|||
|
||||
/+ @nogc bool array designed for RandomCover.
|
||||
- constructed with an invariable length
|
||||
- small length means 0 alloc and bit field (if up to 32 and 64 choices to cover)
|
||||
- small length means 0 alloc and bit field (if up to 32(x86) or 64(x64) choices to cover)
|
||||
- bigger length means non-GC heap allocation(s) and dealloc. +/
|
||||
private struct RandomCoverChoices
|
||||
{
|
||||
|
@ -2659,7 +2659,7 @@ private struct RandomCoverChoices
|
|||
}
|
||||
}
|
||||
|
||||
this(size_t numChoices) pure nothrow @nogc @trusted @property
|
||||
this(size_t numChoices) pure nothrow @nogc @trusted
|
||||
{
|
||||
import core.memory : pureCalloc;
|
||||
import core.exception : onOutOfMemoryError;
|
||||
|
@ -2749,9 +2749,6 @@ Returns:
|
|||
in random order. Will be a forward range if both `r` and
|
||||
`rng` are forward ranges, an
|
||||
$(REF_ALTTEXT input range, isInputRange, std,range,primitives) otherwise.
|
||||
|
||||
Throws:
|
||||
AssertError if a memory allocation fails.
|
||||
*/
|
||||
struct RandomCover(Range, UniformRNG = void)
|
||||
if (isRandomAccessRange!Range && (isUniformRNG!UniformRNG || is(UniformRNG == void)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue