Ticket 10988 - Filtered adaptor should only require SinglePassRange.

This commit is contained in:
Neil Groves committed 2015-02-01 19:05:58 +00:00
1 parent 6f11252633
commit 4a80ccd50d
8 files changed
+53 -182

No files matched your search

+2 -2
View File
@@ -12,9 +12,9 @@
]
* [*Precondition:] The `value_type` of the range is convertible to the argument type of `pred`.
* [*Postcondition:] For all adjacent elements `[x]` in the returned range, `pred(x)` is `true`.
* [*Postcondition:] For all elements `[x]` in the returned range, `pred(x)` is `true`.
* [*Throws:] Whatever the copy constructor of `pred` might throw.
* [*Range Category:] __forward_range__
* [*Range Category:] __singlepass_range__
* [*Range Return Type:] `boost::filtered_range<decltype(rng)>`
* [*Returned Range Category:] The minimum of the range category of `rng` and __bidirectional_range__