SaaSHub helps you find the best software and product alternatives Learn more →
Top 15 C++ single-header Projects
-
-
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
I much prefer the approach taken by cr.h which monitors a "plugin" binary instead and acts as a simple wrapper around platform specific dll/dylib/so loading. You then have a multitude of strategies if you need persist state such as serialization, placing code or data on the host side and using virtual methods/fptrs, holding third party lib references to dlls on the host side or using the CR_STATE mechanism for simple things.
-
Nano bench is a great library with low overhead. https://github.com/martinus/nanobench
-
Proxy seems more likely than Dyno or AnyAny to be a standard way of doing this in C++'s future.
-
matchit.cpp
match(it): A lightweight single-header pattern-matching library for C++17 with macro-free APIs.
Project mention: The pattern matching library match(it) gets its first stable release. | reddit.com/r/cpp | 2022-08-30FYI. Now we've supported Id and Id to return lvalue ref and rvalue ref in addition to the original Id returning const lvalue ref, making the solution much more elegant now. Refer to the complete sample at https://github.com/BowenFu/matchit.cpp/blob/main/sample/mutation.cpp.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
x86RetSpoof
Invoke functions with a spoofed return address. For 32-bit Windows binaries. Supports __fastcall, __thiscall, __stdcall and __cdecl calling conventions. Written in C++17.
-
Project mention: New C++20 tiny dynamic reflection library. | reddit.com/r/cpp_coroutines | 2022-04-16
-
I've recently made a small update to Heady, which is a C++ library and command-line tool used to create amalgamated single-header libraries from standard C++ source files. In the readme, I also describe how to prepare your source code for header amalgamation using four rules.
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ single-header related posts
- how do you properly benchmark?
- Much Faster than std::string, fmt::format, std::to_chars, std::time and more?
- I don’t know which container to use (and at this point I’m too afraid to ask)
- C++20 std::format is 2x slower than std::fstream?
- Nanobench: Fast, single-header microbenchmarking functionality for C++
- Curl4cpp – single header C++ cURL wrapper around libcURL
- curl4cpp - single header c++ cURL wrapper around libcURL
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f1610c125f0>
www.saashub.com | 1 Apr 2023
Index
What are some of the best open-source single-header projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | indicators | 2,398 |
2 | tabulate | 1,525 |
3 | cr | 1,283 |
4 | nanobench | 1,033 |
5 | proxy | 463 |
6 | matchit.cpp | 440 |
7 | csv2 | 378 |
8 | leaf | 259 |
9 | itoa | 194 |
10 | x86RetSpoof | 113 |
11 | meta.hpp | 71 |
12 | Heady | 25 |
13 | curl4cpp | 14 |
14 | iface | 6 |
15 | command | 3 |