commons 0.1.5
Header-only C++23 library of common/shared types for the C++ libraries
Loading...
Searching...
No Matches
commons.hpp
Go to the documentation of this file.
1#pragma once
2
9
10#include <commons/color.hpp>
11#include <commons/config.hpp>
14#include <commons/flag.hpp>
15#include <commons/icon.hpp>
16#include <commons/id.hpp>
17#include <commons/literals.hpp>
18#include <commons/origin.hpp>
20#include <commons/semver.hpp>
21#include <commons/types.hpp>
22#include <commons/version.hpp>
24
25// Optional integrations — each is self-gating, so unconditional inclusion is
26// safe whether or not the backing dependency is available.
27#include <commons/json.hpp>
A tiny RGBA color container with rich, mostly-constexpr color manipulation, plus the Hsl/Hsv model st...
Central feature-gate header for Commons' optional integrations.
Presentation metadata for a type/value — name, description, icon, color, all optional — plus the trai...
NTTP-friendly fixed-size string usable as a non-type template parameter.
Compile-time named flags grouped into categories, plus a runtime FlagSet, a program-wide GlobalFlagRe...
A tiny value type carrying an Iconify icon identifier such as mdi:abacus (a set:name pair).
A strong-typed identifier — comms::Id<Tag, Repr> — that wraps an allowed representation in a phantom ...
Optional nlohmann/json integration for the Commons types.
User-defined literals for the Commons value types: _color and _icon.
A polymorphic provenance envelope — comms::IOrigin — that records where a definition came from,...
Priorities for orderable things (adapters, transports, …) plus the helpers to sort them deterministic...
A value type for a Semantic Versioning 2.0.0 version — major.minor.patch with optional prerelease and...
Fixed-width numeric aliases shared across the C++ libraries.
A semver range constraint that answers satisfies(SemVer).