The OpenD Programming Language

Take.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 Take(Range)
@property const
size_t
maxLength
()
if (
isInputRange!(Unqual!Range) &&
!(
(
!isInfinite!(Unqual!Range) &&
)
||
is(Range T == Take!T)
)
)

Meta