What's a good and stable C++ tree implementation?

后端 未结 6 1525
孤独总比滥情好
孤独总比滥情好 2020-12-04 15:29

I\'m wondering if anyone can recommend a good C++ tree implementation, hopefully one that is stl compatible if at all possible.

For the record, I\'ve written tree a

6条回答
  •  不思量自难忘°
    2020-12-04 16:04

    If you don't have (key, value) pairs, but simply keys, use std::set. That uses the same Red-Black tree as std::map.

提交回复
热议问题