In what library/header (if any) is mathematical set defined? I need set to have functions like intersection, union etc.
You can use std::set
(<set>
) for the set and std::set_intersection
and std::set_union
(<algorithm>
) for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With