https://github.com/eggs-cpp/assert
Eggs.Assert is a C++23 assertion library with stacktrace.
https://github.com/eggs-cpp/assert
Last synced: 1 day ago
JSON representation
Eggs.Assert is a C++23 assertion library with stacktrace.
- Host: GitHub
- URL: https://github.com/eggs-cpp/assert
- Owner: eggs-cpp
- License: bsl-1.0
- Created: 2026-05-02T06:14:40.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-06-12T08:48:08.000Z (17 days ago)
- Last Synced: 2026-06-12T10:22:25.306Z (17 days ago)
- Language: CMake
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Support: support/CMakeLists.txt
Awesome Lists containing this project
README
# **Eggs.Assert**
## Introduction
**Eggs.Assert** is a **C++23** assertion library with stacktrace.
Link against `Eggs::Assert` and include one of:
- `` — replaces the standard `assert` macro with one that prints a full stacktrace on failure.
- `` — provides `EGGS_ASSERT` under its own name, leaving the standard `assert` untouched.
To intercept `#include ` in third-party or library code without modifying it, link against `Eggs::Assert::Intercept` instead.
This places `eggs/assert.h` ahead of the system headers so any `assert` from `` or `` is transparently redirected.
---
> Copyright *Agustín Bergé*, *Fusion Fenix* 2026
>
> Distributed under the Boost Software License, Version 1.0. (See accompanying
> file LICENSE.txt or copy at )