A curated list of awesome header-only C++ libraries
-
Updated
Jun 26, 2021
{{ message }}
C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.
A curated list of awesome header-only C++ libraries
gsl-lite – A single-file header-only version of ISO C++ Guidelines Support Library (GSL) for C++98, C++11, and later
span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library
A modern, C++11-native, single-file header-only, tiny framework for unit-tests, TDD and BDD (includes C++98 variant)
optional lite - A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library
string_view lite - A C++17-like string_view for C++98, C++11 and later in a single-file header-only library
variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library
ring-span lite - A C++yy-like ring_span type for C++98, C++11 and later in a single-file header-only library
any lite - A C++17-like any, a type-safe container for single values of any type for C++98, C++11 and later in a single-file header-only library
Parent of *-lite repositories, a migration path to post-C++11 features for pre-C++11 environments
c++ testing framework
A tiny single-file header-only C++ logging framework
std C++ 11 library impementation with extra features using only C++ 98 and POSIX threads
byte lite - A C++17-like byte type for C++98, C++11 and later in a single-file header-only library
value-ptr-lite - A C++ smart-pointer with value semantics for C++98, C++11 and later in a single-file header-only library
observer-ptr - An observer_ptr for C++98 and later in a single-file header-only library (Extensions for Library Fundamentals, v2, v3)
A simple C++ header-only library for fastest sorting of small arrays. Generates sorting networks on compile time via templates.
Header-only extension for C++ Fast Delegates of Don Clugston (C++98 compatible)
status-value - A class for status and optional value for C++11 and later, C++98 variant provided in a single-file header-only library
optional bare - A simple version of a C++17-like optional for default-constructible, copyable types, for C++98 and later in a single-file header-only library
A lightwight high-speed good-designed big interger library for C++ with FFT
lightweight fast C++ interface library for QNX Photon microGUI
Learn C++ through a CPP-Pool by 42
A single-header INI parser capable of both reading and writing files.
Explanation for portable serialization multiversion support is missing from the README. Please refer to this pull request to update.