[#absl-c_set_symmetric_difference-03] = xref:absl.adoc[absl]::c_set_symmetric_difference :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::set_symmetric_difference()` function to return an iterator containing elements present in either one container or the other, but not both. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C1, typename C2, typename OutputIterator> requires !container_algorithm_internal::IsUnorderedContainer<C1>::value && !container_algorithm_internal::IsUnorderedContainer<C2>::value constexpr OutputIterator c_set_symmetric_difference( C1 const& c1, C2 const& c2, OutputIterator output); ---- == Return Value An iterator to the end of the written range in the output. == Parameters [cols="1,4"] |=== | Name| Description | *c1* | The first sorted container. | *c2* | The second sorted container. | *output* | The output iterator receiving the symmetric difference. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#