Need C library that implements set operations

2020-07-06 08:29发布

问题:

I'm looking for a C library (not C++) that implements set operations. I need to support the following operations:

  • intersection
  • union
  • elementOf
  • isSubset
  • insert (add to set)
  • clone
  • equals

Could I just use the libc binary tree routines?

回答1:

I haven't used it myself, but pblSet looks solid.



标签: c set