tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_builtin_signed_integer.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_BUILTIN_SIGNED_INTEGER_HPP
4#define TETL_TYPE_TRAITS_IS_BUILTIN_SIGNED_INTEGER_HPP
5
9
10namespace etl {
11
12template <typename T>
14 : bool_constant<meta::contains_v<remove_cv_t<T>, meta::list<signed char, short, int, long, long long>>> { };
15
17template <typename T>
19
20} // namespace etl
21
22#endif // TETL_TYPE_TRAITS_IS_BUILTIN_SIGNED_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_signed_integer.hpp:14
constexpr auto is_builtin_signed_integer_v
Definition is_builtin_signed_integer.hpp:18