Changeset 2963 for trunk/test/utility.cc


Ignore:
Timestamp:
Jan 21, 2013, 8:36:51 AM (10 years ago)
Author:
Peter
Message:

closes #472. Defaut constructors in compose functors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/utility.cc

    r2943 r2963  
    254254  B b;
    255255
    256   utility::compose_f_gx_hy<B, U1, U2> binary =
    257     utility::make_compose_f_gx_hy(b, u1, u2);
    258 
    259   utility::compose_f_gxy<U2, B> binary2 =
    260     utility::make_compose_f_gxy(u2, b);
    261 
    262   utility::compose_f_gx<U1, U2> unary =
    263     utility::make_compose_f_gx(u1, u2);
     256  utility::compose_f_gx_hy<B, U1, U2> binary;
     257  binary = utility::make_compose_f_gx_hy(b, u1, u2);
     258
     259  utility::compose_f_gxy<U2, B> binary2;
     260  binary2 = utility::make_compose_f_gxy(u2, b);
     261
     262  utility::compose_f_gx<U1, U2> unary;
     263  unary = utility::make_compose_f_gx(u1, u2);
    264264}
    265265
Note: See TracChangeset for help on using the changeset viewer.