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
9namespace 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
15template <typename T>
16concept destructible = etl::is_nothrow_destructible_v<T>;
17
18} // namespace etl
19
20#endif // TETL_CONCEPTS_DESTRUCTIBLE_HPP
Definition adjacent_find.hpp:9