An open API service indexing awesome lists of open source software.

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.

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 )