Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2016, 10:29:21 PM (8 years ago)
Author:
landauf
Message:

merged branch cpp11_v3 back to trunk

Location:
code/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/external/cpptcl/details/methods.h

    r5781 r11071  
    2727          if (cmem_)
    2828          {
    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));
    3434          }
    3535     }
     
    6060          {
    6161               dispatch<R>::template do_dispatch<T1>(
    62                     interp, boost::bind(cf_, p, _1),
     62                    interp, std::bind(cf_, p, arg::_1),
    6363                    tcl_cast<T1>::from(interp, objv[2]));
    6464          }
     
    6666          {
    6767               dispatch<R>::template do_dispatch<T1>(
    68                     interp, boost::bind(f_, p, _1),
     68                    interp, std::bind(f_, p, arg::_1),
    6969                    tcl_cast<T1>::from(interp, objv[2]));
    7070          }
     
    9696          {
    9797               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),
    9999                    tcl_cast<T1>::from(interp, objv[2]),
    100100                    tcl_cast<T2>::from(interp, objv[3]));
     
    103103          {
    104104               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),
    106106                    tcl_cast<T1>::from(interp, objv[2]),
    107107                    tcl_cast<T2>::from(interp, objv[3]));
     
    134134          {
    135135               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),
    137137                    tcl_cast<T1>::from(interp, objv[2]),
    138138                    tcl_cast<T2>::from(interp, objv[3]),
     
    142142          {
    143143               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),
    145145                    tcl_cast<T1>::from(interp, objv[2]),
    146146                    tcl_cast<T2>::from(interp, objv[3]),
     
    175175          {
    176176               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),
    178178                    tcl_cast<T1>::from(interp, objv[2]),
    179179                    tcl_cast<T2>::from(interp, objv[3]),
     
    184184          {
    185185               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),
    187187                    tcl_cast<T1>::from(interp, objv[2]),
    188188                    tcl_cast<T2>::from(interp, objv[3]),
     
    218218          {
    219219               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),
    221221                    tcl_cast<T1>::from(interp, objv[2]),
    222222                    tcl_cast<T2>::from(interp, objv[3]),
     
    228228          {
    229229               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),
    231231                    tcl_cast<T1>::from(interp, objv[2]),
    232232                    tcl_cast<T2>::from(interp, objv[3]),
     
    263263          {
    264264               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),
    266266                    tcl_cast<T1>::from(interp, objv[2]),
    267267                    tcl_cast<T2>::from(interp, objv[3]),
     
    274274          {
    275275               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),
    277277                    tcl_cast<T1>::from(interp, objv[2]),
    278278                    tcl_cast<T2>::from(interp, objv[3]),
     
    310310          {
    311311               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),
    313313                    tcl_cast<T1>::from(interp, objv[2]),
    314314                    tcl_cast<T2>::from(interp, objv[3]),
     
    322322          {
    323323               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),
    325325                    tcl_cast<T1>::from(interp, objv[2]),
    326326                    tcl_cast<T2>::from(interp, objv[3]),
     
    360360               dispatch<R>::template do_dispatch<
    361361                    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),
    364364                    tcl_cast<T1>::from(interp, objv[2]),
    365365                    tcl_cast<T2>::from(interp, objv[3]),
     
    375375               dispatch<R>::template do_dispatch<
    376376                    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),
    379379                    tcl_cast<T1>::from(interp, objv[2]),
    380380                    tcl_cast<T2>::from(interp, objv[3]),
     
    416416               dispatch<R>::template do_dispatch<
    417417                    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),
    420420                    tcl_cast<T1>::from(interp, objv[2]),
    421421                    tcl_cast<T2>::from(interp, objv[3]),
     
    432432               dispatch<R>::template do_dispatch<
    433433                    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),
    436436                    tcl_cast<T1>::from(interp, objv[2]),
    437437                    tcl_cast<T2>::from(interp, objv[3]),
  • code/trunk/src/external/cpptcl/details/methods_v.h

    r5781 r11071  
    3333          {
    3434               dispatch<R>::template do_dispatch<T1>(
    35                     interp, boost::bind(cf_, p, _1),
     35                    interp, std::bind(cf_, p, arg::_1),
    3636                    t1);
    3737          }
     
    3939          {
    4040               dispatch<R>::template do_dispatch<T1>(
    41                     interp, boost::bind(f_, p, _1),
     41                    interp, std::bind(f_, p, arg::_1),
    4242                    t1);
    4343          }
     
    7272          {
    7373               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),
    7575                    tcl_cast<T1>::from(interp, objv[2]),
    7676                    t2);
     
    7979          {
    8080               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),
    8282                    tcl_cast<T1>::from(interp, objv[2]),
    8383                    t2);
     
    113113          {
    114114               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),
    116116                    tcl_cast<T1>::from(interp, objv[2]),
    117117                    tcl_cast<T2>::from(interp, objv[3]),
     
    121121          {
    122122               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),
    124124                    tcl_cast<T1>::from(interp, objv[2]),
    125125                    tcl_cast<T2>::from(interp, objv[3]),
     
    156156          {
    157157               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),
    159159                    tcl_cast<T1>::from(interp, objv[2]),
    160160                    tcl_cast<T2>::from(interp, objv[3]),
     
    165165          {
    166166               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),
    168168                    tcl_cast<T1>::from(interp, objv[2]),
    169169                    tcl_cast<T2>::from(interp, objv[3]),
     
    202202          {
    203203               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),
    205205                    tcl_cast<T1>::from(interp, objv[2]),
    206206                    tcl_cast<T2>::from(interp, objv[3]),
     
    212212          {
    213213               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),
    215215                    tcl_cast<T1>::from(interp, objv[2]),
    216216                    tcl_cast<T2>::from(interp, objv[3]),
     
    251251          {
    252252               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),
    254254                    tcl_cast<T1>::from(interp, objv[2]),
    255255                    tcl_cast<T2>::from(interp, objv[3]),
     
    262262          {
    263263               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),
    265265                    tcl_cast<T1>::from(interp, objv[2]),
    266266                    tcl_cast<T2>::from(interp, objv[3]),
     
    302302          {
    303303               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),
    305305                    tcl_cast<T1>::from(interp, objv[2]),
    306306                    tcl_cast<T2>::from(interp, objv[3]),
     
    314314          {
    315315               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),
    317317                    tcl_cast<T1>::from(interp, objv[2]),
    318318                    tcl_cast<T2>::from(interp, objv[3]),
     
    356356               dispatch<R>::template do_dispatch<
    357357                    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),
    360360                    tcl_cast<T1>::from(interp, objv[2]),
    361361                    tcl_cast<T2>::from(interp, objv[3]),
     
    371371               dispatch<R>::template do_dispatch<
    372372                    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),
    375375                    tcl_cast<T1>::from(interp, objv[2]),
    376376                    tcl_cast<T2>::from(interp, objv[3]),
     
    415415               dispatch<R>::template do_dispatch<
    416416                    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),
    419419                    tcl_cast<T1>::from(interp, objv[2]),
    420420                    tcl_cast<T2>::from(interp, objv[3]),
     
    431431               dispatch<R>::template do_dispatch<
    432432                    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),
    435435                    tcl_cast<T1>::from(interp, objv[2]),
    436436                    tcl_cast<T2>::from(interp, objv[3]),
Note: See TracChangeset for help on using the changeset viewer.