mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-15 06:01:09 +02:00
This follows discussions from #3413. Followup commits add clang-format file, script and blame ignore lists.
21 lines
542 B
C++
21 lines
542 B
C++
// SPDX-License-Identifier: MIT
|
|
#pragma once
|
|
#include <FEXCore/fextl/allocator.h>
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
|
|
namespace fextl {
|
|
template<class CharT, class Traits = std::char_traits<CharT>, class Allocator = fextl::FEXAlloc<CharT>>
|
|
using basic_string = std::basic_string<CharT, Traits, Allocator>;
|
|
|
|
using string = fextl::basic_string<char>;
|
|
} // namespace fextl
|
|
|
|
template<>
|
|
struct std::hash<fextl::string> {
|
|
std::size_t operator()(const fextl::string& s) const noexcept {
|
|
return std::hash<std::string_view> {}(s);
|
|
};
|
|
};
|