
13 Aug
2010
13 Aug
'10
8:16 p.m.
Steven Watanabe <watanabesj <at> gmail.com> writes:
Try using fusion::remove http://www.boost.org/libs/fusion/doc/html/fusion /algorithm/transformation/functions/remove.html
Thanks! That function seems to do exactly what I need. However, is it expected to work using boost::tuples? (I tried using fusion::vectors and it works perfectly.) The issue I'm running into is that remove() returns a filter_view, which, I'm guessing, is convertible to a fusion::vector but not to a boost::tuple. Is there any way to make that latter conversion work? I've already included: #include <boost/fusion/include/remove.hpp> #include <boost/fusion/adapted/boost_tuple.hpp> But it looks like boost::tuple isn't being adapted fully. Thanks again.