tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
destructible.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_CONCEPTS_DESTRUCTIBLE_HPP
5
#
define
TETL_CONCEPTS_DESTRUCTIBLE_HPP
6
7
#
include
<
etl
/
_type_traits
/
is_nothrow_destructible
.
hpp
>
8
9
namespace
etl
{
10
11
/// \brief The concept destructible specifies the concept of all types whose
12
/// instances can safely be destroyed at the end of their lifetime (including
13
/// reference types).
14
/// \ingroup concepts
15
template
<
typename
T>
16
concept
destructible =
etl
::is_nothrow_destructible_v<T>;
17
18
}
// namespace etl
19
20
#
endif
// TETL_CONCEPTS_DESTRUCTIBLE_HPP
etl
Definition
adjacent_find.hpp:9
include
etl
_concepts
destructible.hpp
Generated on Sun Sep 7 2025 19:14:53 for tetl by
1.9.8