UniqueTake.maxLength

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 maxLength is reached.

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

Meta