UniqueTake.lengthMax

Access to maximal length of the range. Note: the actual length of the range depends on the underlying range. If it has fewer elements, it will stop before lengthMax is reached.

struct UniqueTake(Range)
@property const
size_t
lengthMax
()
if (
isInputRange!(Unqual!Range) &&
!(
(
!isInfinite!(Unqual!Range) &&
hasSlicing!(Unqual!Range)
)
||
is(Range T == UniqueTake!T)
)
)

Meta