Start matching CFire, weird regswaps in constructor, rmemory_allocator constructors

Former-commit-id: 9ae9e52ed7
This commit is contained in:
2022-10-08 01:44:58 -07:00
parent 187bc0b98c
commit 28bfac18ed
7 changed files with 87 additions and 5 deletions

View File

@@ -7,6 +7,8 @@
namespace rstl {
struct rmemory_allocator {
rmemory_allocator() {}
rmemory_allocator(const rmemory_allocator&) {}
template < typename T >
static void allocate(T*& out, int count) {
int size = count * sizeof(T);