tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_aggregate.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_AGGREGATE_HPP
4#define TETL_TYPE_TRAITS_IS_AGGREGATE_HPP
5
6#include <etl/_config/all.hpp>
7
10
11namespace etl {
12
13template <typename T>
14struct is_aggregate : bool_constant<__is_aggregate(remove_cv_t<T>)> { };
15
16template <typename T>
17inline constexpr bool is_aggregate_v = __is_aggregate(remove_cv_t<T>);
18
19} // namespace etl
20
21#endif // TETL_TYPE_TRAITS_IS_AGGREGATE_HPP
Definition adjacent_find.hpp:8
remove_const_t< remove_volatile_t< T > > remove_cv_t
Definition remove_cv.hpp:22
integral_constant< bool, B > bool_constant
Definition bool_constant.hpp:11
constexpr bool is_aggregate_v
Definition is_aggregate.hpp:17
Definition is_aggregate.hpp:14