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