C++ header-only-library

Open-source C++ projects categorized as header-only-library

Top 9 C++ header-only-library Projects

header-only-library
  1. cr

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

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. unordered_dense

    A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion

    Project mention: A Fast, Densely Stored Hashmap Based on Robin-Hood Backward Shift Deletion | news.ycombinator.com | 2025-03-25
  4. au

    A C++14-compatible physical units library with no dependencies and a single-file delivery option. Emphasis on safety, accessibility, performance, and developer experience. (by aurora-opensource)

  5. fkYAML

    A C++ header-only YAML library

    Project mention: Show HN: FkYAML, a C++ Header-Only Library for YAML | news.ycombinator.com | 2024-09-27
  6. recursive-variant

    Recursive Variant: A simple library for Recursive Variant Types

  7. lexpp

    Small Extremely Powerful Header Only C++ Lexical Analyzer/String Parser Library

  8. FunctionTraits

    Professionally written C++ function traits library (single header-only) for retrieving info about any function (arg types, arg count, return type, etc.)

  9. SaaSHub

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

    SaaSHub logo
  10. qc-hash

    (Legacy) Extremely fast unordered map and set library for C++20

  11. Simple-Utility

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++ header-only-library discussion

Log in or Post with

C++ header-only-library related posts

  • Build a State Machine in Under 100 Lines of C++11 – Full Source Code on GitHub

    1 project | news.ycombinator.com | 14 Jun 2024

Index

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

# Project Stars
1 cr 1,644
2 unordered_dense 1,075
3 au 360
4 fkYAML 101
5 recursive-variant 82
6 lexpp 66
7 FunctionTraits 36
8 qc-hash 11
9 Simple-Utility 5

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?