Boost logo

Boost Users :

From: rincewind (cctv.star_at_[hidden])
Date: 2006-04-20 15:56:43


Please tell me why the following fragment prints 0 - I thought it should
print 1:

     typedef mpl::vector_c<int, 1, 2, 3> v1;
     typedef mpl::vector<mpl::int_<1>, mpl::int_<2>, mpl::int_<3> > v2;
     cout << mpl::equal<v1, v2>::value << "\n";


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net