Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
difference « Set Multiset « C++
C++
Set Multiset
difference
1.
Get the difference between two sets
2.
Get the symmetric difference between two sets
3.
set_difference and back_inserter
4.
Use set_difference to get values from only one list
5.
Use set_symmetric_difference() to get the difference between two lists
6.
Create the symmetric difference between list1 and list2