WIP: paging and better malloc.

This commit is contained in:
2024-01-26 15:02:30 +01:00
parent 75ec3751fe
commit 836d589c9b
19 changed files with 1230 additions and 56 deletions

18
bastl/include/iterator Normal file
View File

@@ -0,0 +1,18 @@
#pragma once
#if !defined(BAD_APPLE_OS_ITERATOR_HPP_INCLUDED)
#define BAD_APPLE_OS_ITERATOR_HPP_INCLUDED
#include <cstddef>
namespace std
{
template<typename InputIt>
InputIt next(InputIt it, std::ptrdiff_t n = 1) // TODO: this is not really correct...
{
return it + n;
}
}
#endif // !defined(BAD_APPLE_OS_ITERATOR_HPP_INCLUDED)