function object
std::ranges::views::cache_latest
- Header
<ranges>- Draft
- [ranges.syn]
- Scope
std::ranges::views- cppreference
- <ranges> nearest page
Synopsis
inline constexpr /* implementation-defined */ cache_latest = {};Call signatures
cache_latest is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.
- (1)
template<class E> requires requires { std::ranges::cache_latest_view(std::declval<E>()); } [[nodiscard]] constexpr auto cache_latest(E&& e);