mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
feat(kernel): update stl headers
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
|
||||
#include <convert.h>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
#include <new>
|
||||
|
||||
namespace std
|
||||
@ -116,4 +117,13 @@ namespace std
|
||||
out_of_range &operator=(out_of_range &&) = default;
|
||||
virtual ~out_of_range() = default;
|
||||
};
|
||||
|
||||
class invalid_argument : public logic_error
|
||||
{
|
||||
public:
|
||||
// invalid_argument(const std::string &what_arg) = default;
|
||||
invalid_argument(const char *what_arg) : logic_error(what_arg) {}
|
||||
invalid_argument(const invalid_argument &other) = default;
|
||||
invalid_argument &operator=(const invalid_argument &other) = default;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user