muda
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
Definition: id_with_type.h:9
Definition: compute_graph_closure_id.h:11
Definition: compute_graph_closure_id.h:5
Definition: assert.h:13