tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
domain_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_DOMAIN_ERROR_HPP
5
#
define
TETL_STDEXCEPT_DOMAIN_ERROR_HPP
6
7
#
include
<
etl
/
_stdexcept
/
logic_error
.
hpp
>
8
9
namespace
etl
{
10
11
struct
domain_error
:
logic_error
{
12
constexpr
domain_error
() =
default
;
13
14
constexpr
explicit
domain_error
(
char
const
* what)
15
:
logic_error
{
what
}
16
{
17
}
18
};
19
20
}
// namespace etl
21
22
#
endif
// TETL_STDEXCEPT_DOMAIN_ERROR_HPP
etl
Definition
adjacent_find.hpp:9
etl::domain_error
Definition
domain_error.hpp:11
etl::domain_error::domain_error
constexpr domain_error(char const *what)
Definition
domain_error.hpp:14
etl::domain_error::domain_error
constexpr domain_error()=default
etl::logic_error
Definition
logic_error.hpp:11
etl::logic_error::logic_error
constexpr logic_error(char const *what)
Definition
logic_error.hpp:14
include
etl
_stdexcept
domain_error.hpp
Generated on Sun Sep 7 2025 19:15:16 for tetl by
1.9.8