文件名称:ring-span-lite:ring-span lite-单文件标头库中的C ++ 98,C ++ 11及更高版本的类似于C ++ yy的ring_span类型
文件大小:58KB
文件格式:ZIP
更新时间:2024-05-28 10:49:45
cpp14 cpp11 ring header-only cpp17
ring-span lite:C ++ 98和更高版本的循环缓冲区视图
内容
建立测试
其他ring_span实现
注释和参考
附录
用法示例
# include " nonstd/ring_span.hpp "
# include < iostream>
# include < numeric>
template < typename>
inline size_t dim ( T (&arr)[N] ) { return N; }
template < typename>
inline std::ostream & operator <<( std::ostream & os, ::nonstd::ring_span
【文件预览】:
ring-span-lite-master
----project()
--------CodeBlocks()
----.gitattributes(556B)
----LICENSE.txt(1KB)
----script()
--------upload-conan.py(3KB)
--------create-vcpkg.py(6KB)
--------create-cov-rpt.py(3KB)
--------update-version.py(4KB)
----CMakeLists.txt(4KB)
----BUCK(211B)
----.travis.yml(4KB)
----example()
--------01-filter.cpp(981B)
--------02-no-exceptions.cpp(412B)
--------04-clear.cpp(536B)
--------BUCK(158B)
--------03-make-ring-span.cpp(6KB)
----test()
--------ring-span.t.cpp(32KB)
--------ring-span-main.t.cpp(4KB)
--------t.bat(2KB)
--------tc.bat(2KB)
--------ring-span-sg14.t.hpp(3KB)
--------t-sg14.bat(197B)
--------ring-span-main.t.hpp(3KB)
--------CMakeLists.txt(7KB)
--------BUCK(214B)
--------tg.bat(2KB)
--------tcl.bat(2KB)
--------lest_cpp03.hpp(43KB)
--------tg-sg14.bat(326B)
--------tg-all.bat(73B)
----cmake()
--------ring-span-lite-config-version.cmake.in(787B)
--------ring-span-lite-config.cmake.in(168B)
----README.md(26KB)
----CHANGES.txt(153B)
----.buckconfig(0B)
----appveyor.yml(1KB)
----.editorconfig(604B)
----conanfile.py(907B)
----.gitignore(425B)
----.tgitconfig(140B)
----include()
--------nonstd()