concept approximately_sized_range = ranges::range<T> &&
requires(T& t) {
ranges::reserve_hint(t);
The approximately_sized_range
concept specifies the requirements of a range
type that can estimate its size in constant time with the reserve_hint
function.
Given an lvalue t of type std::remove_reference_t<T>, T
models approximately_sized_range
only if
forward_iterator
, ranges::reserve_hint(t) is well-defined regardless of the evaluation of ranges::begin(t) (in other words, a single-pass approximately sized range may support a call to reserve_hint
only before the first call to begin
, but a forward range must support size at all times).RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4