[mpl] Combining Type Sequences

Giving the following code:
#include

"Eric Lemings"
You wouldn't. A view is not the right tool for this job, since the underlying vectors don't contain all the elements of the result, and especially not a joint_view, since that merely concatenates two sequences. I would sort each vector using mpl::sort and then use a compile-time algorithm similar to std::set_intersection to merge them. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams
-
Eric Lemings