Iros
 
Loading...
Searching...
No Matches
cache_last.h
Go to the documentation of this file.
1#pragma once
2
8#include "di/util/forward.h"
9
10namespace di::container::view {
11namespace detail {
13 template<concepts::InputContainer Con>
14 constexpr auto operator()(Con&& container) const -> concepts::View auto {
15 return CacheLastView { di::forward<Con>(container) };
16 }
17 };
18}
19
20constexpr inline auto cache_last = detail::CacheLastFunction {};
21}
22
23namespace di {
25}
Definition cache_last_view.h:32
Definition view.h:10
Definition adjacent.h:9
Definition adjacent.h:8
constexpr auto cache_last
Definition cache_last.h:20
Definition sequence.h:12
Definition zstring_parser.h:9
constexpr auto operator()(Con &&container) const -> concepts::View auto
Definition cache_last.h:14