small_vector:small_vector的实现;没有依赖

时间:2021-03-18 02:12:47
【文件属性】:
文件名称:small_vector:small_vector的实现;没有依赖
文件大小:85KB
文件格式:ZIP
更新时间:2021-03-18 02:12:47
C++ small_vector small_vector(具有较小缓冲区优化的向量)的实现。没有依赖关系。那是我对boost::container::small_vector和llvm::SmallVector主要抱怨。 从到目前为止我进行的少量测试boost::container::small_vector ,性能与boost::container::small_vector 。此实现还尝试在*成员函数方面尽可能地模仿std::vector ,以允许直接替换。 与C ++ 11及更高版本兼容,并为C ++ 20提供constexpr和concept支持。 该项目仍未经测试,并且可能会发生重大变化。请暂时不要在生产代码中使用。 技术概述 template < typename T, unsigned InlineCapacity = default_buffer_siz
【文件预览】:
small_vector-main
----.gitignore(71B)
----external()
--------create-package()
--------doctest()
----.gitmodules(255B)
----source()
--------include()
--------test()
--------CMakeLists.txt(978B)
----docs()
--------LICENSE(1KB)
--------README.md(23KB)
----CMakeLists.txt(485B)

网友评论