function object
std::ranges::reserve_hint
Synopsis
inline constexpr /* implementation-defined */ reserve_hint = {};Call signatures
reserve_hint is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.
- (1)
template<class T> requires requires(T& t) { std::ranges::size(t); } || member<T> || adl<T> [[nodiscard]] constexpr auto reserve_hint(T&& t) noexcept(nothrow<T>());