Update STL headers

This commit is contained in:
EnderIce2
2024-04-15 05:13:24 +03:00
parent fd292305f6
commit 5a94744fd2
14 changed files with 1395 additions and 6 deletions

View File

@ -17,6 +17,8 @@
#pragma once
#include <assert.h>
namespace std
{
class runtime_error
@ -28,4 +30,14 @@ namespace std
runtime_error(const char *what_arg) : m_what(what_arg) {}
const char *what() const { return this->m_what; }
};
class out_of_range
{
public:
out_of_range(const char *what_arg)
{
/* FIXME: This is a temporary assert */
assert(what_arg != nullptr);
}
};
}