
11 Aug
2009
11 Aug
'09
3:58 a.m.
On Mon, Aug 10, 2009 at 10:37 PM, Zachary Turner<divisortheory@gmail.com> wrote:
Hello, I'm trying to convert an MPL map to a fusion map using boost::fusion::result_of::as_map. I have the following code, with some of the leading-in code omitted for brevity although I don't think it's relevant:
Heh, apparently all I need to do was #include <boost/fusion/include/mpl.hpp> In the process I ran across the documentation for the mpl adapted sequences (http://www.boost.org/doc/libs/1_39_0/libs/fusion/doc/html/fusion/adapted/mpl...). Is there any difference between using result_of::as_map and this approach? With the adapted approach, can I simply declare an mpl::map on the stack and modify its internal items at runtime?