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
7
namespace
etl
{
8
9
template
<
auto
V>
10
struct
nontype_t
{
11
explicit
nontype_t
() =
default
;
12
};
13
14
template
<
auto
V
>
15
inline
constexpr
auto
nontype
=
etl
::
nontype_t
<
V
>{};
16
17
}
// namespace etl
18
19
#
endif
// TETL_UTILITY_NONTYPE_HPP
etl
Definition
adjacent_find.hpp:9
etl::nontype
constexpr auto nontype
Definition
non_type.hpp:15
etl::nontype_t
Definition
non_type.hpp:10
etl::nontype_t::nontype_t
nontype_t()=default
include
etl
_utility
non_type.hpp
Generated on Sun Sep 7 2025 19:15:18 for tetl by
1.9.8