...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::set_symmetric_difference — Set symmetric difference algorithm.
// In header: <boost/compute/algorithm/set_symmetric_difference.hpp> template<typename InputIterator1, typename InputIterator2, typename OutputIterator> OutputIterator set_symmetric_difference(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, command_queue & queue = system::default_queue());
Finds the symmetric difference of the sorted range [first2, last2) from the sorted range [first1, last1) and stores it in range starting at result
Space complexity: \Omega(2(distance(first1
, last1
) + distance(first2
, last2
)))
Parameters: 


Returns: 
Iterator pointing to end of symmetric difference 