mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
Triforce v0.2.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
15
gpu/vk/compat/common/container/unordered_map.h
Normal file
15
gpu/vk/compat/common/container/unordered_map.h
Normal file
@@ -0,0 +1,15 @@
|
||||
// mkw-recomp: Eden's Common::unordered_map (boost's flat map there) as std::unordered_map: the API it uses
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
|
||||
#include "common/container_hash.h"
|
||||
|
||||
namespace Common {
|
||||
template <class Key, class T, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>,
|
||||
class Allocator = std::allocator<std::pair<const Key, T>>>
|
||||
using unordered_map = std::unordered_map<Key, T, Hash, Pred, Allocator>;
|
||||
}
|
||||
13
gpu/vk/compat/common/container/unordered_set.h
Normal file
13
gpu/vk/compat/common/container/unordered_set.h
Normal file
@@ -0,0 +1,13 @@
|
||||
// mkw-recomp: Eden's Common::unordered_set (boost's flat set there) as std::unordered_set: the API it uses
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <unordered_set>
|
||||
|
||||
#include "common/container_hash.h"
|
||||
|
||||
namespace Common {
|
||||
template <class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>, class Allocator = std::allocator<Key>>
|
||||
using unordered_set = std::unordered_set<Key, Hash, Pred, Allocator>;
|
||||
}
|
||||
Reference in New Issue
Block a user