Initial structure

This commit is contained in:
2015-09-04 10:02:06 +02:00
commit 98e363eda6
457 changed files with 127943 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
//
// Created by imon on 2015-03-31.
//
#ifndef DAYDREAM_ENUMCLASSHASH_H
#define DAYDREAM_ENUMCLASSHASH_H
// http://stackoverflow.com/a/24847480/417018
struct EnumClassHash
{
template <typename T>
std::size_t operator()(T t) const
{
return static_cast<std::size_t>(t);
}
};
#endif //DAYDREAM_ENUMCLASSHASH_H