tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
remove_volatile.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_REMOVE_VOLATILE_HPP
4#define TETL_TYPE_TRAITS_REMOVE_VOLATILE_HPP
5
6namespace etl {
7
15template <typename Type>
17 using type = Type;
18};
19
20template <typename Type>
21struct remove_volatile<Type volatile> {
22 using type = Type;
23};
24
26template <typename T>
28
29} // namespace etl
30
31#endif // TETL_TYPE_TRAITS_REMOVE_VOLATILE_HPP
typename remove_volatile< T >::type remove_volatile_t
Definition remove_volatile.hpp:27
Definition adjacent_find.hpp:8
Type type
Definition remove_volatile.hpp:22
Provides the member typedef type which is the same as T, except that its topmost cv-qualifiers are re...
Definition remove_volatile.hpp:16
Type type
Definition remove_volatile.hpp:17