0
可能重复unordered_set(int)的容器库:
C equivalent of C++ STL的std ::对于C
我写在C程序由于在嵌入式系统上的存储器约束。我需要一个std::unordered_set<int>
来实现我的算法。 C有哪些STL类库?如果没有一个实现std::unordered_set<int>
,那么我可以使用什么容器作为替代方案?
可能重复unordered_set(int)的容器库:
C equivalent of C++ STL的std ::对于C
我写在C程序由于在嵌入式系统上的存储器约束。我需要一个std::unordered_set<int>
来实现我的算法。 C有哪些STL类库?如果没有一个实现std::unordered_set<int>
,那么我可以使用什么容器作为替代方案?
sglibred black tree container似乎提供我所需要的。
嗯,实际上一个*“红黑树容器”*听起来像一个'std :: set'比'std :: unordered_set'(我希望你知道它们之间的区别)。 –