mal-packet-weaver
C++20 packet serialization/deserialization library.
Loading...
Searching...
No Matches
debug_with_source_location.hpp File Reference

This file provides utility functions for debugging and assertion handling. More...

#include "../debug.hpp"
Include dependency graph for debug_with_source_location.hpp:

Go to the source code of this file.

Namespaces

namespace  mal_toolkit
 Contains a collection of tools and utilities provided by the MAL Toolkit library.
 

Functions

std::string mal_toolkit::CurrentSourceLocation (std::source_location location=std::source_location::current())
 Generates a string representation of the current source location.
 
void mal_toolkit::Assert (bool value, std::string_view message="Assert failed", std::source_location location=std::source_location::current())
 Asserts a condition with customizable behavior based on debug mode.
 
void mal_toolkit::AlwaysAssert (bool value, std::string_view message="Assert failed", std::source_location location=std::source_location::current())
 Always asserts a condition with customizable behavior.
 

Detailed Description

This file provides utility functions for debugging and assertion handling.

Definition in file debug_with_source_location.hpp.