@@ -51,7 +51,7 @@ ifelse($1,0,[dnl
51
51
* @return The slot's return value.
52
52
*/
53
53
T_return operator()(const slot_type& _A_slot) const
54
- { return (reinterpret_cast <typename slot_type::call_type>(_A_slot.rep_->call_))(LIST(_A_slot.rep_, LOOP(_A_a%1_, $1 ))); }
54
+ { return (bitwise_equivalent_cast <typename slot_type::call_type>(_A_slot.rep_->call_))(LIST(_A_slot.rep_, LOOP(_A_a%1_, $1 ))); }
55
55
dnl T_return operator()(const slot_type& _A_slot) const
56
56
dnl { return _A_slot(LOOP(_A_a%1_, $1 )); }
57
57
@@ -150,12 +150,12 @@ FOR(1, $1,[
150
150
if (it == slots.end())
151
151
return T_return(); // note that 'T_return r_();' doesn't work => define 'r_' after this line and initialize as follows:
152
152
153
- r_ = (reinterpret_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
153
+ r_ = (bitwise_equivalent_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
154
154
for (++it; it != slots.end(); ++it)
155
155
{
156
156
if (it->empty() || it->blocked())
157
157
continue;
158
- r_ = (reinterpret_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
158
+ r_ = (bitwise_equivalent_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
159
159
}
160
160
}
161
161
@@ -201,12 +201,12 @@ FOR(1, $1,[
201
201
if (it == reverse_iterator_type(slots.begin()))
202
202
return T_return(); // note that 'T_return r_();' doesn't work => define 'r_' after this line and initialize as follows:
203
203
204
- r_ = (reinterpret_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
204
+ r_ = (bitwise_equivalent_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
205
205
for (++it; it != reverse_iterator_type(slots.begin()); ++it)
206
206
{
207
207
if (it->empty() || it->blocked())
208
208
continue;
209
- r_ = (reinterpret_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
209
+ r_ = (bitwise_equivalent_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
210
210
}
211
211
}
212
212
@@ -247,7 +247,7 @@ FOR(1, $1,[
247
247
{
248
248
if (slot.empty() || slot.blocked())
249
249
continue;
250
- (reinterpret_cast <call_type>(slot.rep_->call_))(LIST(slot.rep_, LOOP(_A_a%1, $1 )));
250
+ (bitwise_equivalent_cast <call_type>(slot.rep_->call_))(LIST(slot.rep_, LOOP(_A_a%1, $1 )));
251
251
}
252
252
}
253
253
@@ -278,7 +278,7 @@ FOR(1, $1,[
278
278
{
279
279
if (it->empty() || it->blocked())
280
280
continue;
281
- (reinterpret_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
281
+ (bitwise_equivalent_cast <call_type>(it->rep_->call_))(LIST(it->rep_, LOOP(_A_a%1, $1 )));
282
282
}
283
283
}
284
284
_DEPRECATE_IFDEF_END
0 commit comments