di 0.1.0
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 {
12 struct CacheLastFunction : public function::pipeline::EnablePipeline {
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 adjacent.h:8
constexpr auto cache_last
Definition cache_last.h:20
Definition any_storable.h:9