Changeset 10775 for code/branches/cpp11_v2/src/external/cpptcl/details
- Timestamp:
- Nov 8, 2015, 10:40:44 AM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/external/cpptcl/details
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/external/cpptcl/details/methods.h
r5781 r10775 27 27 if (cmem_) 28 28 { 29 dispatch<R>::do_dispatch(interp, boost::bind(cf_, p));30 } 31 else 32 { 33 dispatch<R>::do_dispatch(interp, boost::bind(f_, p));29 dispatch<R>::do_dispatch(interp, std::bind(cf_, p)); 30 } 31 else 32 { 33 dispatch<R>::do_dispatch(interp, std::bind(f_, p)); 34 34 } 35 35 } … … 60 60 { 61 61 dispatch<R>::template do_dispatch<T1>( 62 interp, boost::bind(cf_, p,_1),62 interp, std::bind(cf_, p, arg::_1), 63 63 tcl_cast<T1>::from(interp, objv[2])); 64 64 } … … 66 66 { 67 67 dispatch<R>::template do_dispatch<T1>( 68 interp, boost::bind(f_, p,_1),68 interp, std::bind(f_, p, arg::_1), 69 69 tcl_cast<T1>::from(interp, objv[2])); 70 70 } … … 96 96 { 97 97 dispatch<R>::template do_dispatch<T1, T2>( 98 interp, boost::bind(cf_, p, _1,_2),98 interp, std::bind(cf_, p, arg::_1, arg::_2), 99 99 tcl_cast<T1>::from(interp, objv[2]), 100 100 tcl_cast<T2>::from(interp, objv[3])); … … 103 103 { 104 104 dispatch<R>::template do_dispatch<T1, T2>( 105 interp, boost::bind(f_, p, _1,_2),105 interp, std::bind(f_, p, arg::_1, arg::_2), 106 106 tcl_cast<T1>::from(interp, objv[2]), 107 107 tcl_cast<T2>::from(interp, objv[3])); … … 134 134 { 135 135 dispatch<R>::template do_dispatch<T1, T2, T3>( 136 interp, boost::bind(cf_, p, _1, _2,_3),136 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3), 137 137 tcl_cast<T1>::from(interp, objv[2]), 138 138 tcl_cast<T2>::from(interp, objv[3]), … … 142 142 { 143 143 dispatch<R>::template do_dispatch<T1, T2, T3>( 144 interp, boost::bind(f_, p, _1, _2,_3),144 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3), 145 145 tcl_cast<T1>::from(interp, objv[2]), 146 146 tcl_cast<T2>::from(interp, objv[3]), … … 175 175 { 176 176 dispatch<R>::template do_dispatch<T1, T2, T3, T4>( 177 interp, boost::bind(cf_, p, _1, _2, _3,_4),177 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3, arg::_4), 178 178 tcl_cast<T1>::from(interp, objv[2]), 179 179 tcl_cast<T2>::from(interp, objv[3]), … … 184 184 { 185 185 dispatch<R>::template do_dispatch<T1, T2, T3, T4>( 186 interp, boost::bind(f_, p, _1, _2, _3,_4),186 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3, arg::_4), 187 187 tcl_cast<T1>::from(interp, objv[2]), 188 188 tcl_cast<T2>::from(interp, objv[3]), … … 218 218 { 219 219 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5>( 220 interp, boost::bind(cf_, p, _1, _2, _3, _4,_5),220 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5), 221 221 tcl_cast<T1>::from(interp, objv[2]), 222 222 tcl_cast<T2>::from(interp, objv[3]), … … 228 228 { 229 229 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5>( 230 interp, boost::bind(f_, p, _1, _2, _3, _4,_5),230 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5), 231 231 tcl_cast<T1>::from(interp, objv[2]), 232 232 tcl_cast<T2>::from(interp, objv[3]), … … 263 263 { 264 264 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5, T6>( 265 interp, boost::bind(cf_, p, _1, _2, _3, _4, _5,_6),265 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6), 266 266 tcl_cast<T1>::from(interp, objv[2]), 267 267 tcl_cast<T2>::from(interp, objv[3]), … … 274 274 { 275 275 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5, T6>( 276 interp, boost::bind(f_, p, _1, _2, _3, _4, _5,_6),276 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6), 277 277 tcl_cast<T1>::from(interp, objv[2]), 278 278 tcl_cast<T2>::from(interp, objv[3]), … … 310 310 { 311 311 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5, T6, T7>( 312 interp, boost::bind(cf_, p, _1, _2, _3, _4, _5, _6,_7),312 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7), 313 313 tcl_cast<T1>::from(interp, objv[2]), 314 314 tcl_cast<T2>::from(interp, objv[3]), … … 322 322 { 323 323 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5, T6, T7>( 324 interp, boost::bind(f_, p, _1, _2, _3, _4, _5, _6,_7),324 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7), 325 325 tcl_cast<T1>::from(interp, objv[2]), 326 326 tcl_cast<T2>::from(interp, objv[3]), … … 360 360 dispatch<R>::template do_dispatch< 361 361 T1, T2, T3, T4, T5, T6, T7, T8>( 362 interp, boost::bind(cf_, p,363 _1, _2, _3, _4, _5, _6, _7,_8),362 interp, std::bind(cf_, p, 363 arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7, arg::_8), 364 364 tcl_cast<T1>::from(interp, objv[2]), 365 365 tcl_cast<T2>::from(interp, objv[3]), … … 375 375 dispatch<R>::template do_dispatch< 376 376 T1, T2, T3, T4, T5, T6, T7, T8>( 377 interp, boost::bind(f_, p,378 _1, _2, _3, _4, _5, _6, _7,_8),377 interp, std::bind(f_, p, 378 arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7, arg::_8), 379 379 tcl_cast<T1>::from(interp, objv[2]), 380 380 tcl_cast<T2>::from(interp, objv[3]), … … 416 416 dispatch<R>::template do_dispatch< 417 417 T1, T2, T3, T4, T5, T6, T7, T8, T9>( 418 interp, boost::bind(cf_, p,419 _1, _2, _3, _4, _5, _6, _7, _8,_9),418 interp, std::bind(cf_, p, 419 arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7, arg::_8, arg::_9), 420 420 tcl_cast<T1>::from(interp, objv[2]), 421 421 tcl_cast<T2>::from(interp, objv[3]), … … 432 432 dispatch<R>::template do_dispatch< 433 433 T1, T2, T3, T4, T5, T6, T7, T8, T9>( 434 interp, boost::bind(f_, p,435 _1, _2, _3, _4, _5, _6, _7, _8,_9),434 interp, std::bind(f_, p, 435 arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7, arg::_8, arg::_9), 436 436 tcl_cast<T1>::from(interp, objv[2]), 437 437 tcl_cast<T2>::from(interp, objv[3]), -
code/branches/cpp11_v2/src/external/cpptcl/details/methods_v.h
r5781 r10775 33 33 { 34 34 dispatch<R>::template do_dispatch<T1>( 35 interp, boost::bind(cf_, p,_1),35 interp, std::bind(cf_, p, arg::_1), 36 36 t1); 37 37 } … … 39 39 { 40 40 dispatch<R>::template do_dispatch<T1>( 41 interp, boost::bind(f_, p,_1),41 interp, std::bind(f_, p, arg::_1), 42 42 t1); 43 43 } … … 72 72 { 73 73 dispatch<R>::template do_dispatch<T1, T2>( 74 interp, boost::bind(cf_, p, _1,_2),74 interp, std::bind(cf_, p, arg::_1, arg::_2), 75 75 tcl_cast<T1>::from(interp, objv[2]), 76 76 t2); … … 79 79 { 80 80 dispatch<R>::template do_dispatch<T1, T2>( 81 interp, boost::bind(f_, p, _1,_2),81 interp, std::bind(f_, p, arg::_1, arg::_2), 82 82 tcl_cast<T1>::from(interp, objv[2]), 83 83 t2); … … 113 113 { 114 114 dispatch<R>::template do_dispatch<T1, T2, T3>( 115 interp, boost::bind(cf_, p, _1, _2,_3),115 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3), 116 116 tcl_cast<T1>::from(interp, objv[2]), 117 117 tcl_cast<T2>::from(interp, objv[3]), … … 121 121 { 122 122 dispatch<R>::template do_dispatch<T1, T2, T3>( 123 interp, boost::bind(f_, p, _1, _2,_3),123 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3), 124 124 tcl_cast<T1>::from(interp, objv[2]), 125 125 tcl_cast<T2>::from(interp, objv[3]), … … 156 156 { 157 157 dispatch<R>::template do_dispatch<T1, T2, T3, T4>( 158 interp, boost::bind(cf_, p, _1, _2, _3,_4),158 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3, arg::_4), 159 159 tcl_cast<T1>::from(interp, objv[2]), 160 160 tcl_cast<T2>::from(interp, objv[3]), … … 165 165 { 166 166 dispatch<R>::template do_dispatch<T1, T2, T3, T4>( 167 interp, boost::bind(f_, p, _1, _2, _3,_4),167 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3, arg::_4), 168 168 tcl_cast<T1>::from(interp, objv[2]), 169 169 tcl_cast<T2>::from(interp, objv[3]), … … 202 202 { 203 203 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5>( 204 interp, boost::bind(cf_, p, _1, _2, _3, _4,_5),204 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5), 205 205 tcl_cast<T1>::from(interp, objv[2]), 206 206 tcl_cast<T2>::from(interp, objv[3]), … … 212 212 { 213 213 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5>( 214 interp, boost::bind(f_, p, _1, _2, _3, _4,_5),214 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5), 215 215 tcl_cast<T1>::from(interp, objv[2]), 216 216 tcl_cast<T2>::from(interp, objv[3]), … … 251 251 { 252 252 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5, T6>( 253 interp, boost::bind(cf_, p, _1, _2, _3, _4, _5,_6),253 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6), 254 254 tcl_cast<T1>::from(interp, objv[2]), 255 255 tcl_cast<T2>::from(interp, objv[3]), … … 262 262 { 263 263 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5, T6>( 264 interp, boost::bind(f_, p, _1, _2, _3, _4, _5,_6),264 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6), 265 265 tcl_cast<T1>::from(interp, objv[2]), 266 266 tcl_cast<T2>::from(interp, objv[3]), … … 302 302 { 303 303 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5, T6, T7>( 304 interp, boost::bind(cf_, p, _1, _2, _3, _4, _5, _6,_7),304 interp, std::bind(cf_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7), 305 305 tcl_cast<T1>::from(interp, objv[2]), 306 306 tcl_cast<T2>::from(interp, objv[3]), … … 314 314 { 315 315 dispatch<R>::template do_dispatch<T1, T2, T3, T4, T5, T6, T7>( 316 interp, boost::bind(f_, p, _1, _2, _3, _4, _5, _6,_7),316 interp, std::bind(f_, p, arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7), 317 317 tcl_cast<T1>::from(interp, objv[2]), 318 318 tcl_cast<T2>::from(interp, objv[3]), … … 356 356 dispatch<R>::template do_dispatch< 357 357 T1, T2, T3, T4, T5, T6, T7, T8>( 358 interp, boost::bind(cf_, p,359 _1, _2, _3, _4, _5, _6, _7,_8),358 interp, std::bind(cf_, p, 359 arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7, arg::_8), 360 360 tcl_cast<T1>::from(interp, objv[2]), 361 361 tcl_cast<T2>::from(interp, objv[3]), … … 371 371 dispatch<R>::template do_dispatch< 372 372 T1, T2, T3, T4, T5, T6, T7, T8>( 373 interp, boost::bind(f_, p,374 _1, _2, _3, _4, _5, _6, _7,_8),373 interp, std::bind(f_, p, 374 arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7, arg::_8), 375 375 tcl_cast<T1>::from(interp, objv[2]), 376 376 tcl_cast<T2>::from(interp, objv[3]), … … 415 415 dispatch<R>::template do_dispatch< 416 416 T1, T2, T3, T4, T5, T6, T7, T8, T9>( 417 interp, boost::bind(cf_, p,418 _1, _2, _3, _4, _5, _6, _7, _8,_9),417 interp, std::bind(cf_, p, 418 arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7, arg::_8, arg::_9), 419 419 tcl_cast<T1>::from(interp, objv[2]), 420 420 tcl_cast<T2>::from(interp, objv[3]), … … 431 431 dispatch<R>::template do_dispatch< 432 432 T1, T2, T3, T4, T5, T6, T7, T8, T9>( 433 interp, boost::bind(f_, p,434 _1, _2, _3, _4, _5, _6, _7, _8,_9),433 interp, std::bind(f_, p, 434 arg::_1, arg::_2, arg::_3, arg::_4, arg::_5, arg::_6, arg::_7, arg::_8, arg::_9), 435 435 tcl_cast<T1>::from(interp, objv[2]), 436 436 tcl_cast<T2>::from(interp, objv[3]),
Note: See TracChangeset
for help on using the changeset viewer.