C++ single-header

Open-source C++ projects categorized as single-header

Top 16 C++ single-header Projects

  • indicators

    Activity Indicators for Modern C++

  • tabulate

    Table Maker for Modern C++ (by p-ranav)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • cr

    cr.h: A Simple C Hot Reload Header-only Library

  • nanobench

    Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

    Project mention: The issue of unit tests and performance measurements (Benchmark) | /r/cpp | 2023-05-27

    An alternative is tracking the number of instructions a test executes: https://github.com/martinus/nanobench

  • proxy

    Proxy: Next Generation Polymorphism in C++ (by microsoft)

    Project mention: Static Interfaces, concepts vs de-virtualisation? | /r/cpp | 2023-03-24

    Proxy seems more likely than Dyno or AnyAny to be a standard way of doing this in C++'s future.

  • watcher

    Filesystem watcher. Works anywhere. Simple, efficient and friendly. (by e-dant)

  • matchit.cpp

    match(it): A lightweight single-header pattern-matching library for C++17 with macro-free APIs.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • csv2

    Fast CSV parser and writer for Modern C++

  • leaf

    Lightweight Error Augmentation Framework (by boostorg)

  • itoa

    Fast integer to ascii / integer to string conversion

  • 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.

  • meta.hpp

    C++20 Dynamic Reflection Library

  • Heady

    A utility for creating amalgamated single-header C++ libraries

  • curl4cpp

    Single header cURL wrapper for C++ around libcURL

  • iface

    Anonymous, non-intrusive interfaces in C++

  • command

    Command, ::process::Command like syscalls in C++. (by ferhatgec)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-27.

C++ single-header related posts

Index

What are some of the best open-source single-header projects in C++? This list will help you:

Project Stars
1 indicators 2,778
2 tabulate 1,758
3 cr 1,459
4 nanobench 1,284
5 proxy 779
6 watcher 622
7 matchit.cpp 519
8 csv2 507
9 leaf 287
10 itoa 203
11 x86RetSpoof 157
12 meta.hpp 111
13 Heady 38
14 curl4cpp 14
15 iface 6
16 command 3
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com