malena
Why malena
Quick start
Tutorials
API docs
GitHub
GitHub
Tutorials
Loading...
Searching...
No Matches
Utilities
EnumClassHash.h
Go to the documentation of this file.
1
//
2
// Created by Dave Smith on 10/3/25.
3
//
4
5
#ifndef ENUMCLASSHASH_H
6
#define ENUMCLASSHASH_H
11
12
namespace
ml
{
13
struct
EnumClassHash
{
14
template
<
typename
T>
15
std::size_t
operator()
(T t)
const
{
16
return
static_cast<
std::size_t
>
(t);
17
}
18
};}
19
#endif
//ENUMCLASSHASH_H
ml
Definition
Component.h:18
ml::EnumClassHash
Definition
EnumClassHash.h:13
ml::EnumClassHash::operator()
std::size_t operator()(T t) const
Definition
EnumClassHash.h:15
Generated by
1.16.1