tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
in_place_type.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
3
#ifndef TETL_UTILITY_IN_PLACE_TYPE_HPP
4
#define TETL_UTILITY_IN_PLACE_TYPE_HPP
5
6
#include <
etl/_cstddef/size_t.hpp
>
7
8
namespace
etl
{
9
18
template
<
typename
T>
19
struct
in_place_type_t
{
20
explicit
in_place_type_t
() =
default
;
21
};
22
24
template
<
typename
T>
25
inline
constexpr
auto
in_place_type
=
in_place_type_t<T>
{};
26
27
}
// namespace etl
28
29
#endif
// TETL_UTILITY_IN_PLACE_TYPE_HPP
etl
Definition
adjacent_find.hpp:8
size_t.hpp
etl::in_place_type_t::in_place_type_t
in_place_type_t()=default
etl::in_place_type_t::in_place_type
constexpr auto in_place_type
Definition
in_place_type.hpp:25
include
etl
_utility
in_place_type.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0