18 lines
No EOL
382 B
C++
Executable file
18 lines
No EOL
382 B
C++
Executable file
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <optional>
|
|
|
|
namespace prism {
|
|
using path = std::filesystem::path;
|
|
}
|
|
|
|
// some stdlibs such as apple's clang fail to provide this :-/
|
|
namespace std {
|
|
template <>
|
|
struct hash<prism::path> {
|
|
std::size_t operator()(const prism::path& k) const {
|
|
return (std::hash<std::string>()(k.string()));
|
|
}
|
|
};
|
|
} |