Melon
A C++ library designed for RadishOS.
Toggle main menu visibility
Loading...
Searching...
No Matches
OutOfRange.hpp
1
#pragma once
2
3
#include "../../Typing.hpp"
4
5
#include <exception>
6
7
namespace
Melon::Exceptions
8
{
10
class
OutOfRange
:
public
std::exception
11
{
12
Typing::USize
index;
13
Typing::USize
highest_index;
14
15
public
:
19
OutOfRange
(
Typing::USize
index,
Typing::USize
highest_index);
20
22
const
char
*
what
()
const
noexcept
;
23
};
24
}
// namespace Melon::Exceptions
Melon::Exceptions::OutOfRange::what
const char * what() const noexcept
Definition
OutOfRange.cpp:12
Melon::Exceptions::OutOfRange::OutOfRange
OutOfRange(Typing::USize index, Typing::USize highest_index)
Main constructor for class OutOfRange.
Definition
OutOfRange.cpp:8
Melon::Exceptions
Contains custom exceptions.
Definition
Exceptions.hpp:8
Melon::Typing::USize
size_t USize
Biggest unsigned type.
Definition
Typing.hpp:38
Include
Internal
Exceptions
OutOfRange.hpp
Generated by
1.18.0