tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_abstract.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_TYPE_TRAITS_IS_ABSTRACT_HPP
5#define TETL_TYPE_TRAITS_IS_ABSTRACT_HPP
6
7#include <etl/_config/all.hpp>
8
9#include <etl/_type_traits/bool_constant.hpp>
10
11namespace etl {
12
13template <typename T>
14struct is_abstract : bool_constant<__is_abstract(T)> { };
15
16template <typename T>
17inline constexpr bool is_abstract_v = __is_abstract(T);
18
19} // namespace etl
20
21#endif // TETL_TYPE_TRAITS_IS_ABSTRACT_HPP
Definition adjacent_find.hpp:9
constexpr bool is_abstract_v
Definition is_abstract.hpp:17
Definition is_abstract.hpp:14