@@ -77,12 +77,15 @@ FOR(1, $1,[
77
77
slot_iterator_buf_type(slots.end(), &self));
78
78
}
79
79
80
+ _DEPRECATE_IFDEF_START
80
81
/** Executes a list of slots using an accumulator of type @e T_accumulator in reverse order.dnl
81
82
ifelse ( $1 ,0 ,,[
82
83
* The arguments are buffered in a temporary instance of signal_emit$1 .] )
83
84
FOR(1, $1 ,[
84
85
* @param _A_a%1 Argument to be passed on to the slots.] )
85
86
* @return The accumulated return values of the slot invocations as processed by the accumulator.
87
+ *
88
+ * @deprecated This is apparently not useful, but please let us know if you need it.
86
89
*/
87
90
static result_type emit_reverse(LIST(signal_impl* impl, LOOP(type_trait_take_t<T_arg%1> _A_a%1, $1 )))
88
91
{
@@ -98,6 +101,8 @@ FOR(1, $1,[
98
101
return accumulator(slot_reverse_iterator_buf_type(slots.end(), &self),
99
102
slot_reverse_iterator_buf_type(slots.begin(), &self));
100
103
}
104
+ _DEPRECATE_IFDEF_END
105
+
101
106
dnl
102
107
FOR(1, $1 ,[
103
108
type_trait_take_t<T_arg%1> _A_a%1_;] )
@@ -157,6 +162,7 @@ FOR(1, $1,[
157
162
return r_;
158
163
}
159
164
165
+ _DEPRECATE_IFDEF_START
160
166
/** Executes a list of slots using an accumulator of type @e T_accumulator in reverse order.dnl
161
167
ifelse ( $1 ,0 ,,[
162
168
* The arguments are passed directly on to the slots.] )
@@ -166,6 +172,8 @@ ifelse($1,0,,[
166
172
FOR(1, $1 ,[
167
173
* @param _A_a%1 Argument to be passed on to the slots.] )
168
174
* @return The return value of the last slot invoked.
175
+ *
176
+ * @deprecated This is apparently not useful, but please let us know if you need it.
169
177
*/
170
178
static result_type emit_reverse(LIST(signal_impl* impl, LOOP(type_trait_take_t<T_arg%1> _A_a%1, $1 )))
171
179
{
@@ -204,6 +212,7 @@ FOR(1, $1,[
204
212
205
213
return r_;
206
214
}
215
+ _DEPRECATE_IFDEF_END
207
216
};
208
217
209
218
/** Abstracts signal emission.
@@ -242,13 +251,16 @@ FOR(1, $1,[
242
251
}
243
252
}
244
253
254
+ _DEPRECATE_IFDEF_START
245
255
/** Executes a list of slots using an accumulator of type @e T_accumulator in reverse order.dnl
246
256
ifelse ( $1 ,0 ,,[
247
257
* The arguments are passed directly on to the slots.] )
248
258
* @param first An iterator pointing to the first slot in the list.
249
259
* @param last An iterator pointing to the last slot in the list.dnl
250
260
FOR(1, $1 ,[
251
261
* @param _A_a%1 Argument to be passed on to the slots.] )
262
+ *
263
+ * @deprecated This is apparently not useful, but please let us know if you need it.
252
264
*/
253
265
static result_type emit_reverse(LIST(signal_impl* impl, LOOP(type_trait_take_t<T_arg%1> _A_a%1, $1 )))
254
266
{
@@ -269,6 +281,7 @@ FOR(1, $1,[
269
281
(reinterpret_cast<call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
270
282
}
271
283
}
284
+ _DEPRECATE_IFDEF_END
272
285
};
273
286
274
287
] )
@@ -363,11 +376,19 @@ FOR(1, $1,[
363
376
result_type emit(LOOP(type_trait_take_t<T_arg%1> _A_a%1, $1 )) const
364
377
{ return emitter_type::emit(LIST(impl_, LOOP(_A_a%1, $1 ))); }
365
378
366
- /** Triggers the emission of the signal in reverse order (see emit()). */
379
+ _DEPRECATE_IFDEF_START
380
+ /** Triggers the emission of the signal in reverse order (see emit()).
381
+ *
382
+ * @deprecated This is apparently not useful, but please let us know if you need it.
383
+ */
367
384
result_type emit_reverse(LOOP(type_trait_take_t<T_arg%1> _A_a%1, $1 )) const
368
385
{ return emitter_type::emit_reverse(LIST(impl_, LOOP(_A_a%1, $1 ))); }
386
+ _DEPRECATE_IFDEF_END
369
387
370
- /** Triggers the emission of the signal (see emit()). */
388
+ /** Triggers the emission of the signal (see emit()).
389
+ *
390
+ * @deprecated This is apparently not useful, but let us know if you need it.
391
+ */
371
392
result_type operator()(LOOP(type_trait_take_t<T_arg%1> _A_a%1, $1 )) const
372
393
{ return emit(LOOP(_A_a%1, $1 )); }
373
394
0 commit comments