tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_volatile.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_VOLATILE_HPP
4#define TETL_TYPE_TRAITS_IS_VOLATILE_HPP
5
7
8namespace etl {
9
10template <typename T>
12
13template <typename T>
14struct is_volatile<T volatile> : true_type { };
15
16template <typename T>
17inline constexpr bool is_volatile_v = is_volatile<T>::value;
18
19} // namespace etl
20
21#endif // TETL_TYPE_TRAITS_IS_VOLATILE_HPP
Definition adjacent_find.hpp:8
bool_constant< true > true_type
Definition bool_constant.hpp:13
bool_constant< false > false_type
Definition bool_constant.hpp:14
constexpr bool is_volatile_v
Definition is_volatile.hpp:17
static constexpr bool value
Definition integral_constant.hpp:10
Definition is_volatile.hpp:11