1、json解析
https://github.com/nlohmann/json
2、fmt格式化
3、C++枚举转字符串,magic_enum
Belay the C++ | A weekly blog talking about (usually bad) practices in C++
Best ways to convert an enum to a string | Belay the C++
现代 C++ 的枚举(到字符串、从字符串、迭代)的静态反射,适用于任何枚举类型,无需任何宏或样板代码
https://github.com/Neargye/magic_enum
4、cppitertools
Implementation of python itertools and builtin iteration functions for C++17
https://github.com/ryanhaining/cppitertools
5、pybind11
Seamless operability between C++11 and Python
https://github.com/pybind/pybind11
6、排序算法TimSort
A C++ implementation of timsort
https://github.com/timsort/cpp-TimSort
7、FakeIt
FakeIt是一个简单的C ++模拟框架。
C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
https://github.com/eranpeer/FakeIt
8、C++ STL重构,提升性能
https://github.com/mattreecebentley/plf_colony
https://github.com/mattreecebentley/plf_queue
https://github.com/mattreecebentley/plf_list
https://github.com/mattreecebentley/plf_stack
https://github.com/mattreecebentley/plf_rand
9、ring-span
ring-span lite - A C++yy-like ring_span type for C++98, C++11 and later in a single-file header-only library
https://github.com/martinmoene/ring-span-lite
10、plf_nanotimer
一个简单的 C++ 03/11/etc 计时器类,用于~微秒精度的跨平台基准测试。实现尽可能有限和简单,以提供最低的开销。
https://github.com/mattreecebentley/plf_nanotimer
(1)acs官方例程也有定时器类。
C:\Program Files (x86)\ACS Motion Control\SPiiPlus ADK Suite v3.13.01\ACSC\C_CPP\Samples\Measurements Demo\Measurements Demo\
PreciseTimer.cpp
PreciseTimer.h
(2)Timing utility, wraps C++11 std::chrono in an easy to use StopWatch utility
https://github.com/KjellKod/StopWatch