[Boost-bugs] [ boost-Bugs-1228050 ] Problem with mpl::transform on fusion::tuple

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: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1228050&group_id=7586 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 well. 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 algorithms. 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: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1228050&group_id=7586 ------------------------------------------------------- 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. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net