tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_void.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_VOID_HPP
4#define TETL_TYPE_TRAITS_IS_VOID_HPP
5
8
9namespace etl {
10
12template <typename T>
13struct is_void : is_same<void, remove_cv_t<T>> { };
14
15template <typename T>
17
18} // namespace etl
19
20#endif // TETL_TYPE_TRAITS_IS_VOID_HPP
Definition adjacent_find.hpp:8
constexpr bool is_void_v
Definition is_void.hpp:16
constexpr bool is_same_v
Definition is_same.hpp:11
If T and U name the same type (taking into account const/volatile qualifications),...
Definition is_same.hpp:20
Define a member typedef only if a boolean constant is true.
Definition is_void.hpp:13