mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
[orbis-kernel] Implement utils::kstring
This commit is contained in:
parent
932bb30e79
commit
0d7b090032
7 changed files with 18 additions and 15 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "utils/Rc.hpp"
|
||||
#include <utility>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <deque>
|
||||
#include <map>
|
||||
|
|
@ -31,6 +32,7 @@ template <typename T> struct kallocator {
|
|||
}
|
||||
};
|
||||
|
||||
using kstring = std::basic_string<char, std::char_traits<char>, kallocator<char>>;
|
||||
template <typename T> using kvector = std::vector<T, kallocator<T>>;
|
||||
template <typename T> using kdeque = std::deque<T, kallocator<T>>;
|
||||
template <typename K, typename T, typename Cmp = std::less<>>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue