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
7
8namespace etl {
9
18template <typename T>
20 explicit in_place_type_t() = default;
21};
22
24template <typename T>
25inline constexpr auto in_place_type = in_place_type_t<T>{};
26
27} // namespace etl
28
29#endif // TETL_UTILITY_IN_PLACE_TYPE_HPP
Definition adjacent_find.hpp:8
in_place_type_t()=default
constexpr auto in_place_type
Definition in_place_type.hpp:25