tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
add_volatile.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_ADD_VOLATILE_HPP
4#define TETL_TYPE_TRAITS_ADD_VOLATILE_HPP
5
6namespace etl {
7
13template <typename T>
15 using type = T volatile;
16};
17
19template <typename T>
21
22} // namespace etl
23
24#endif // TETL_TYPE_TRAITS_ADD_VOLATILE_HPP
Definition adjacent_find.hpp:8
Provides the member typedef type which is the same as T, except it has a cv-qualifier added (unless T...
Definition add_volatile.hpp:14
typename add_volatile< T >::type add_volatile_t
Definition add_volatile.hpp:20
T volatile type
Definition add_volatile.hpp:15