tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
non_type.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_UTILITY_NONTYPE_HPP
4#define TETL_UTILITY_NONTYPE_HPP
5
6namespace etl {
7
8template <auto V>
9struct nontype_t {
10 explicit nontype_t() = default;
11};
12
13template <auto V>
14inline constexpr auto nontype = etl::nontype_t<V>{};
15
16} // namespace etl
17
18#endif // TETL_UTILITY_NONTYPE_HPP
Definition adjacent_find.hpp:8
constexpr auto nontype
Definition non_type.hpp:14
Definition non_type.hpp:9
nontype_t()=default