tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Namespaces | |
namespace | etl |
Functions | |
template<typename InputIt1, typename InputIt2, typename OutputIt> | |
constexpr auto | set_difference (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt destination) -> OutputIt |
Copies the elements from the sorted range [first1, last1) which are not found in the sorted range [first2, last2) to the range beginning at destination. Elements are compared using the given binary comparison function comp and the ranges must be sorted with respect to the same. | |
template<typename InputIt1, typename InputIt2, typename OutputIt, typename Compare> | |
constexpr auto | set_difference (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt destination, Compare comp) -> OutputIt |
Copies the elements from the sorted range [first1, last1) which are not found in the sorted range [first2, last2) to the range beginning at destination. Elements are compared using the given binary comparison function comp and the ranges must be sorted with respect to the same. | |