inline constexpr auto reserve_hint = /* unspecified */;
Call signature
template< class T > requires /* see below */
Estimates the number of elements in t in constant time.
Given the subexpression of which t denotes the (possibly materialized) result object as E, and the type of E as T
:
T
is a class or enumeration type.reserve_hint
is established as if by performing argument-dependent lookup only.Diagnosable ill-formed cases above result in substitution failure when ranges::reserve_hint(E) appears in the immediate context of a template instantiation.
Customization point objectsThe name ranges::reserve_hint
denotes a customization point object, which is a const function object of a literal semiregular
class type. See CustomizationPointObject for details.
Whenever ranges::reserve_hint(e) is valid for an expression e, the return type is integer-like.
[edit] Example [edit] See alsoRetroSearch 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