tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_builtin_integer.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_BUILTIN_INTEGER_HPP
4#define TETL_TYPE_TRAITS_IS_BUILTIN_INTEGER_HPP
5
9
10namespace etl {
11
12template <typename T>
13struct is_builtin_integer : bool_constant<is_builtin_unsigned_integer_v<T> or is_builtin_signed_integer_v<T>> { };
14
16template <typename T>
18
19} // namespace etl
20
21#endif // TETL_TYPE_TRAITS_IS_BUILTIN_INTEGER_HPP
Definition adjacent_find.hpp:8
integral_constant< bool, B > bool_constant
Definition bool_constant.hpp:11
static constexpr bool value
Definition integral_constant.hpp:10
Definition is_builtin_integer.hpp:13
constexpr auto is_builtin_integer_v
Definition is_builtin_integer.hpp:17