Iros
 
Loading...
Searching...
No Matches
in_in_result.h
Go to the documentation of this file.
1#pragma once
2
4#include "di/util/move.h"
5
6namespace di::container {
7template<typename In1, typename In2>
8struct InInResult {
9 template<typename I1, typename I2>
11 constexpr operator InInResult<I1, I2>() const& {
12 return { in1, in2 };
13 }
14
15 template<typename I1, typename I2>
17 constexpr operator InInResult<I1, I2>() && {
18 return { util::move(in1), util::move(in2) };
19 }
20
21 [[no_unique_address]] In1 in1;
22 [[no_unique_address]] In2 in2;
23};
24}
Definition operations.h:99
Definition sequence.h:12
Definition in_in_result.h:8
In1 in1
Definition in_in_result.h:21
In2 in2
Definition in_in_result.h:22