@@ -108,9 +108,8 @@ void test_mixed1()
108
108
109
109
auto log3 = make_cown<Body1>(1 );
110
110
111
- when (read (t1), log3) << [=](auto , auto ) {
112
- Logging::cout () << " log" << Logging::endl;
113
- };
111
+ when (read (t1), log3) <<
112
+ [=](auto , auto ) { Logging::cout () << " log" << Logging::endl; };
114
113
}
115
114
116
115
void test_mixed2 ()
@@ -128,9 +127,8 @@ void test_mixed2()
128
127
129
128
auto log3 = make_cown<Body1>(1 );
130
129
131
- when (read (log3), t1) << [=](auto , auto ) {
132
- Logging::cout () << " log" << Logging::endl;
133
- };
130
+ when (read (log3), t1) <<
131
+ [=](auto , auto ) { Logging::cout () << " log" << Logging::endl; };
134
132
}
135
133
136
134
void test_mixed3 ()
@@ -157,8 +155,8 @@ void test_mixed3()
157
155
158
156
auto log5 = make_cown<Body1>(4 );
159
157
160
- when (read (t1), log5, read (t2)) <<
161
- [=](auto , auto , auto ) { Logging::cout () << " log" << Logging::endl; };
158
+ when (read (t1), log5, read (t2))
159
+ << [=](auto , auto , auto ) { Logging::cout () << " log" << Logging::endl; };
162
160
}
163
161
164
162
void test_mixed4 ()
@@ -177,8 +175,8 @@ void test_mixed4()
177
175
auto log3 = make_cown<Body1>(3 );
178
176
auto log4 = make_cown<Body1>(4 );
179
177
180
- when (read (log3), t1, read (log4)) <<
181
- [=](auto , auto , auto ) { Logging::cout () << " log" << Logging::endl; };
178
+ when (read (log3), t1, read (log4))
179
+ << [=](auto , auto , auto ) { Logging::cout () << " log" << Logging::endl; };
182
180
}
183
181
184
182
void test_multi ()
@@ -195,7 +193,8 @@ void test_multi()
195
193
cown_array<Body1> t1{carray, 2 };
196
194
197
195
(when (read (t1)) << [=](auto ) { Logging::cout () << " log" << Logging::endl; }) +
198
- (when (read (log1)) << [=](auto ) { Logging::cout () << " log" << Logging::endl; });
196
+ (when (read (log1)) <<
197
+ [=](auto ) { Logging::cout () << " log" << Logging::endl; });
199
198
}
200
199
201
200
void test_nest1 ()
@@ -247,8 +246,8 @@ void test_move()
247
246
248
247
cown_array<Body1> t1{carray, 2 };
249
248
250
- when (std::move (read (t1))) <<
251
- [=](auto ) { Logging::cout () << " log" << Logging::endl; };
249
+ when (std::move (read (t1)))
250
+ << [=](auto ) { Logging::cout () << " log" << Logging::endl; };
252
251
}
253
252
254
253
void test_repeated_cown ()
@@ -263,8 +262,8 @@ void test_repeated_cown()
263
262
264
263
cown_array<Body1> t1{carray, 2 };
265
264
266
- when (std::move (read (t1))) <<
267
- [=](auto ) { Logging::cout () << " log" << Logging::endl; };
265
+ when (std::move (read (t1)))
266
+ << [=](auto ) { Logging::cout () << " log" << Logging::endl; };
268
267
}
269
268
270
269
int main (int argc, char ** argv)
0 commit comments