C++ single-header

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

Top 17 C++ single-header Projects

  • indicators

    Activity Indicators for Modern C++

  • tabulate

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

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

    InfluxDB logo
  • 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)

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

  • SaaSHub

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

    SaaSHub logo
  • 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)

  • EventSystem

    a single header event system that im using in my game

  • SaaSHub

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

    SaaSHub logo
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).

C++ single-header related posts

  • how do you properly benchmark?

    2 projects | /r/cpp | 20 Feb 2023
  • Much Faster than std::string, fmt::format, std::to_chars, std::time and more?

    1 project | /r/cpp | 6 Oct 2022
  • I don’t know which container to use (and at this point I’m too afraid to ask)

    2 projects | /r/cpp | 3 Feb 2022
  • C++20 std::format is 2x slower than std::fstream?

    13 projects | /r/cpp_questions | 19 Nov 2021
  • Nanobench: Fast, single-header microbenchmarking functionality for C++

    1 project | news.ycombinator.com | 9 Nov 2021
  • Curl4cpp – single header C++ cURL wrapper around libcURL

    1 project | news.ycombinator.com | 1 Aug 2021
  • curl4cpp - single header c++ cURL wrapper around libcURL

    1 project | /r/linux | 31 Jul 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 4 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 indicators 2,831
2 tabulate 1,802
3 cr 1,484
4 nanobench 1,315
5 proxy 1,202
6 watcher 628
7 matchit.cpp 519
8 csv2 515
9 leaf 290
10 itoa 203
11 x86RetSpoof 157
12 meta.hpp 113
13 Heady 41
14 curl4cpp 14
15 iface 6
16 command 3
17 EventSystem 1

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com