tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
runtime_error.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2// SPDX-FileCopyrightText: Copyright (C) 2021 Tobias Hienzsch
3
4#ifndef TETL_STDEXCEPT_RUNTIME_ERROR_HPP
5#define TETL_STDEXCEPT_RUNTIME_ERROR_HPP
6
7#include <etl/_exception/exception.hpp>
8
9namespace etl {
10
12 constexpr runtime_error() = default;
13
14 constexpr explicit runtime_error(char const* what)
15 : exception{what}
16 {
17 }
18};
19
20} // namespace etl
21
22#endif // TETL_STDEXCEPT_RUNTIME_ERROR_HPP
Definition adjacent_find.hpp:9
Definition exception.hpp:9
constexpr exception(char const *what)
Definition exception.hpp:12
Definition runtime_error.hpp:11
constexpr runtime_error(char const *what)
Definition runtime_error.hpp:14
constexpr runtime_error()=default