Merge pull request #6435 from JackStouffer/input-range-link

Make references to input ranges a link to isInputRange
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
This commit is contained in:
The Dlang Bot 2018-04-15 01:42:45 +02:00 committed by GitHub
commit e13e3889ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 84 additions and 54 deletions

View file

@ -1835,7 +1835,8 @@ public:
Params:
source = The input range to be mapped. If `source` is not random
source = The $(REF_ALTTEXT input range, isInputRange, std,range,primitives)
to be mapped. If `source` is not random
access it will be lazily buffered to an array of size `bufSize` before
the map function is evaluated. (For an exception to this rule, see Notes.)
@ -2164,8 +2165,8 @@ public:
/**
Given a `source` range that is expensive to iterate over, returns an
input range that asynchronously buffers the contents of
`source` into a buffer of `bufSize` elements in a worker thread,
$(REF_ALTTEXT input range, isInputRange, std,range,primitives) that
asynchronously buffers the contents of `source` into a buffer of `bufSize` elements in a worker thread,
while making previously buffered elements from a second buffer, also of size
`bufSize`, available via the range interface of the returned
object. The returned range has a length iff `hasLength!S`.