Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-20 14:40:22


"Delfin Rojas" <drojas_at_[hidden]> writes:

> Hi David,
>
> I wasn't trying to add elements to a joint view. I am trying to make a joint
> sequence of two other sequences.

  mpl::joint_view<S1,S2>

that's all you need to do.

> I first tried to obtain that from
> joint_view but when that failed I tried using push_back to push each element
> of the second sequence at the end of the first one. I thought about trying
> mpl::copy but I am not sure if that is implemented either...

This problem:

>>> I am having a problem with the mpl library and I wonder if someone could
>>> help me with it. Basically I am trying to get a joint_view of two
>>> mpl::vector types and I get an error message on mpl/clear.hpp saying
>>>
>>> clear_traits< Tag >
>>> ::template algorithm< Sequence >
>>>
>>> base class undefined.

Can only occur by trying to extend the joint_view, if it's caused when
you're "trying to make a joint view".

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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