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
// SPDX-FileCopyrightText: Copyright (C) 2019 Tobias Hienzsch
3
4
#
ifndef
TETL_NEW_NOTHROW_HPP
5
#
define
TETL_NEW_NOTHROW_HPP
6
7
namespace
etl
{
8
9
/// \brief etl::nothrow_t is an empty class type used to disambiguate the
10
/// overloads of throwing and non-throwing allocation functions.
11
struct
nothrow_t
{
12
explicit
nothrow_t
() =
default
;
13
};
14
15
/// \brief etl::nothrow is a constant of type etl::nothrow_t used to
16
/// disambiguate the overloads of throwing and non-throwing allocation
17
/// functions.
18
inline
constexpr
auto
nothrow
=
etl
::
nothrow_t
{
}
;
19
20
}
// namespace etl
21
22
#
endif
// TETL_NEW_NOTHROW_HPP
etl
Definition
adjacent_find.hpp:9
etl::nothrow
constexpr auto nothrow
etl::nothrow is a constant of type etl::nothrow_t used to disambiguate the overloads of throwing and ...
Definition
nothrow.hpp:18
etl::nothrow_t
etl::nothrow_t is an empty class type used to disambiguate the overloads of throwing and non-throwing...
Definition
nothrow.hpp:11
etl::nothrow_t::nothrow_t
nothrow_t()=default
include
etl
_new
nothrow.hpp
Generated on Sun Sep 7 2025 19:15:15 for tetl by
1.9.8