8.6.5 Set operators

The following operations on sets can be performed with operators: Union, difference and intersection. The operators needed for this are listed in table (8.6).


Table 8.6: Set operators

OperatorAction
+ Union
- Difference
* Intersection

The set type of the operands must be the same, or an error will be generated by the compiler.