MUDA
Loading...
Searching...
No Matches
compute_graph_closure_id.h
1
#pragma once
2
#include <muda/tools/id_with_type.h>
3
namespace
muda
4
{
5
class
ClosureId
:
public
U64IdWithType
6
{
7
using
U64IdWithType::U64IdWithType;
8
};
9
}
// namespace muda
10
11
namespace
std
12
{
13
template
<>
14
struct
hash<muda::ClosureId>
15
{
16
size_t
operator()(
const
muda::ClosureId
& s)
const
noexcept
17
{
18
return
std::hash<uint64_t>{}(s.value());
19
}
20
};
21
}
// namespace std
muda::ClosureId
Definition
compute_graph_closure_id.h:6
muda::IdWithType
Definition
id_with_type.h:10
src
muda
compute_graph
compute_graph_closure_id.h
Generated by
1.9.8