4#ifndef TETL_TYPE_TRAITS_IS_NOTHROW_DESTRUCTIBLE_HPP
5#define TETL_TYPE_TRAITS_IS_NOTHROW_DESTRUCTIBLE_HPP
7#include <etl/_type_traits/bool_constant.hpp>
8#include <etl/_type_traits/declval.hpp>
9#include <etl/_type_traits/is_destructible.hpp>
14template <
bool,
typename Type>
15struct is_nothrow_destructible_helper;
17template <
typename Type>
18struct is_nothrow_destructible_helper<
false, Type> :
etl::false_type { };
20template <
typename Type>
21struct is_nothrow_destructible_helper<
true, Type> :
etl::bool_constant<
noexcept(
etl::declval<Type>().~Type())> { };
25template <
typename Type>
28template <
typename Type, size_t N>
31template <
typename Type>
34template <
typename Type>
Definition adjacent_find.hpp:9
constexpr bool is_nothrow_destructible_v
Definition is_nothrow_destructible.hpp:38
https://en.cppreference.com/w/cpp/types/is_destructible
Definition is_nothrow_destructible.hpp:26