Hi!
I would like to update mpl::map and mpl algorithms to 1.34 release candidate libs. What is the best way to do it? If there an archive of currently tested boost libs available or which CVS label should I use for new mpl version.
Is it sufficient to replace boost/mpl directory in the installed boost
To be honest, I tested the max_element with files (algorithms) from 1.34 and
it did not work (map files did not update for 2 years). May be I forgot
smth. The transformation of vector to map via fold worked. I can try to
reverse the process and see if it works for map to vector. But I do not see
any reason, to transform to vector first and afterwords iterate through
vector again for finding the max element. As you can imagine, this will have
impact on compilation speed. On the other hand, I can write my own traversal
algorithm for maps. But it would be better to use some standard algorithms.
Some probably weird question: If mpl::map fulfills the requirement of
ForwardSequence, why wasn't it tested with for_each or max_element or may be
some other useful algorithms?
Thanks,
Ovanes
-----Original Message-----
From: David Abrahams [mailto:dave@boost-consulting.com]
Sent: Tuesday, December 12, 2006 11:44 PM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] updating mpl::map to 1.34
"Ovanes Markarian"
Currently I have problems when iterating (mpl::for_each, mpl::max_element) through mpl::map sequences.
I suggest simply moving to the 1.34 release branch, wholesale. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users