Iros
 
Loading...
Searching...
No Matches
in_place_type.h
Go to the documentation of this file.
1#pragma once
2
3namespace di::types {
4template<typename T>
5struct InPlaceType {
6 using Type = T;
7
8 explicit InPlaceType() = default;
9};
10
11template<typename T>
12constexpr inline auto in_place_type = InPlaceType<T> {};
13}
14
15namespace di {
17using types::InPlaceType;
18}
Definition method.h:5
constexpr auto in_place_type
Definition in_place_type.h:12
Definition zstring_parser.h:9
Definition in_place_type.h:5
T Type
Definition in_place_type.h:6