Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-06-27 01:47:59

Bugs item #1228050, was opened at 2005-06-27 01:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: mpl
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: SolodOn (solodon)
Assigned to: Aleksey Gurtovoy (agurtovoy)
Summary: Problem with mpl::transform on fusion::tuple

Initial Comment:
Whenever I try to do something like:

typedef fusion::tuple<char, short, int> fusion_types;
typedef fusion::tuple<char*,short*,int*> fusion_pointers;

typedef mpl::transform< fusion_types,
boost::add_pointer<mpl::_1> >::type fusion_result;

I get a compilation error, while the same thing with
mpl::vector instead of fusion::tuple compiles perfectly

If I understand the problem right, dispatched
implementation of push_front on tuples refers
boost::fusion::meta::push_front, which is forward
declared but never defined. Is it by design or was it left
to add implementation later?

Another thing you might want to check (not directly
related to this) is that tuple iterator does not define
iterator category, that was required by some mpl

I've got here GCC 3.4 (under Linux FC3) and boost 1.32
taken from boost CVS.

See attachment for the program to reproduce the
problem (uncomment two last lines) and compilation log.


You can respond by visiting:

SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast.
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at