If it has fewer elements, it will stop before maxLength is reached.
Take.maxLength
size_t maxLength() @property constAccess to maximal length of the range.
Note
the actual length of the range depends on the underlying range.
size_t maxLength() @property constAccess to maximal length of the range.
If it has fewer elements, it will stop before maxLength is reached.