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
5
namespace
yorch
{
6
7
struct
slot_layout_one_to_one_policy
{};
8
struct
slot_layout_serial_dfs_compact_policy
{};
9
10
}
// namespace yorch
11
12
namespace
yorch::detail
{
13
14
template
<
typename
LayoutPolicy>
15
concept
slot_layout_policy
=
16
std::is_same_v<std::remove_cvref_t<LayoutPolicy>,
yorch::slot_layout_one_to_one_policy
> ||
17
std::is_same_v<std::remove_cvref_t<LayoutPolicy>,
yorch::slot_layout_serial_dfs_compact_policy
>;
18
19
}
// namespace yorch::detail
yorch::detail::slot_layout_policy
Definition
policies.hpp:15
yorch::detail
Definition
adapters.hpp:48
yorch
Definition
adapters.hpp:9
yorch::slot_layout_one_to_one_policy
Definition
policies.hpp:7
yorch::slot_layout_serial_dfs_compact_policy
Definition
policies.hpp:8
include
yorch
slots
policies.hpp
Generated by
1.9.8