tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
nothrow.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_NEW_NOTHROW_HPP
4#define TETL_NEW_NOTHROW_HPP
5
6namespace etl {
7
10struct nothrow_t {
11 explicit nothrow_t() = default;
12};
13
17inline constexpr auto nothrow = etl::nothrow_t{};
18
19} // namespace etl
20
21#endif // TETL_NEW_NOTHROW_HPP
Definition adjacent_find.hpp:8
constexpr auto nothrow
etl::nothrow is a constant of type etl::nothrow_t used to disambiguate the overloads of throwing and ...
Definition nothrow.hpp:17
etl::nothrow_t is an empty class type used to disambiguate the overloads of throwing and non-throwing...
Definition nothrow.hpp:10
nothrow_t()=default