
14 Aug
2007
14 Aug
'07
8:04 p.m.
AMDG Martin Apel <martin.apel <at> simpack.de> writes:
I still had no luck getting this to work. It seems that the typedef for the joint map is OK (I had to change the insert to use a third parameter as follows:
typedef copy< joint_view<Map1,Map2>, inserter <map0<>, insert<_1, end<_1>::type, _2> >
::type JointMap;
otherwise it wouldn't compile). However as soon as I try to access the result using
std::cout << at<JointMap, int_<2> >::type::value << "\n";
I got tons of compile errors, from at_impl.hpp like the following: <snip>
try typedef copy< joint_view<Map1,Map2>, inserter <map0<>, insert<_1, end<_1>, _2> >
::type JointMap;
In Christ, Steven Watanabe