|
Boost : |
From: Steven Watanabe (steven_at_[hidden])
Date: 2007-08-14 16:04:40
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk