dstruct
dstruct copied to clipboard
🔥An easy-to-port/learn/use C++ data structure template library | 一个易于移植/使用/学习且结构简洁的数据结构模板库
- 不同分配器间(内存来源)的对象, 禁用移动语义 ```cpp dstruct::Vector test() { dstruct::Vector vec1; dstruct::Vector vec2; // do something // vec1 = vec2 return dstruct::Vector::convert(vec1); return dstruct::Vector::copy(vec1); return dstruct::copy_to(vec1); } ```
How can i integrate this library in my cmake project since DStruct use xmake ?
It would be very cool to have an alternative to std::map in this library thanks !
https://github.com/Sunrisepeak/DStruct/blob/faae622277975439e6ce3e74c3aa47e7b9a05ddc/core/ds/tree/AVLTree.hpp#L283
原则参考: https://zhuanlan.zhihu.com/p/635745510
- nullptr check - data valid/invalid verify - border check - ...