Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::Assert Struct Reference

Functions and macros to assert, exit() or abort() and capture backtraces. More...

#include <Assert.h>

Static Public Member Functions

static SC_COMPILER_FORCE_INLINE void unreachable ()
 
static void exit (int code)
 Exits current process with the given code.
 
static void printBacktrace (const char *expression, const char *filename, const char *function, int line)
 Prints an assertion to standard output.
 

Detailed Description

Functions and macros to assert, exit() or abort() and capture backtraces.

Member Function Documentation

◆ exit()

static void SC::Assert::exit ( int code)
static

Exits current process with the given code.

◆ printBacktrace()

static void SC::Assert::printBacktrace ( const char * expression,
const char * filename,
const char * function,
int line )
static

Prints an assertion to standard output.


The documentation for this struct was generated from the following file: