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