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// SPDX-FileCopyrightText: Copyright (C) 2024 Tobias Hienzsch
3
4#ifndef TETL_UTILITY_NONTYPE_HPP
5#define TETL_UTILITY_NONTYPE_HPP
6
7namespace etl {
8
9template <auto V>
10struct nontype_t {
11 explicit nontype_t() = default;
12};
13
14template <auto V>
15inline constexpr auto nontype = etl::nontype_t<V>{};
16
17} // namespace etl
18
19#endif // TETL_UTILITY_NONTYPE_HPP
Definition adjacent_find.hpp:9
constexpr auto nontype
Definition non_type.hpp:15
Definition non_type.hpp:10
nontype_t()=default