YOrch 1.0.0
Loading...
Searching...
No Matches
policies.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <type_traits>
4
5namespace yorch {
6
18
33
47
48} // namespace yorch
49
50namespace yorch::detail {
51
52template <typename FanoutPolicy>
54 std::is_same_v<std::remove_cvref_t<FanoutPolicy>, yorch::fanout_auto_policy> ||
55 std::is_same_v<std::remove_cvref_t<FanoutPolicy>, yorch::fanout_shared_readonly_policy> ||
56 std::is_same_v<std::remove_cvref_t<FanoutPolicy>, yorch::fanout_consume_with_copies_policy>;
57
58} // namespace yorch::detail
Default fanout policy.
Definition policies.hpp:17
Mixed fanout policy that allows one consumer plus any number of copies.
Definition policies.hpp:46
Explicit readonly fanout policy.
Definition policies.hpp:32