tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
integral.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_INTEGRAL_HPP
5#define TETL_CONCEPTS_INTEGRAL_HPP
6
7#include <etl/_type_traits/is_integral.hpp>
8
9namespace etl {
10
11/// \brief The concept integral<T> is satisfied if and only if T is an integral type.
12/// \ingroup concepts
13template <typename T>
14concept integral = is_integral_v<T>;
15
16} // namespace etl
17
18#endif // TETL_CONCEPTS_INTEGRAL_HPP
Definition adjacent_find.hpp:9