WPILibC++ 2025.3.2
Loading...
Searching...
No Matches
assert.hpp File Reference
#include <cstdlib>
#include "../config.hpp"

Go to the source code of this file.

Namespaces

namespace  wpi
 Foonathan namespace.
 
namespace  wpi::memory
 Memory namespace.
 
namespace  wpi::memory::detail
 

Macros

#define WPI_MEMORY_ASSERT(Expr)
 
#define WPI_MEMORY_ASSERT_MSG(Expr, Msg)
 
#define WPI_MEMORY_UNREACHABLE(Msg)
 
#define WPI_MEMORY_WARNING(Msg)
 

Functions

void wpi::memory::detail::handle_failed_assert (const char *msg, const char *file, int line, const char *fnc) noexcept
 
void wpi::memory::detail::handle_warning (const char *msg, const char *file, int line, const char *fnc) noexcept
 

Macro Definition Documentation

◆ WPI_MEMORY_ASSERT

#define WPI_MEMORY_ASSERT ( Expr)

◆ WPI_MEMORY_ASSERT_MSG

#define WPI_MEMORY_ASSERT_MSG ( Expr,
Msg )

◆ WPI_MEMORY_UNREACHABLE

#define WPI_MEMORY_UNREACHABLE ( Msg)
Value:
std::abort()

◆ WPI_MEMORY_WARNING

#define WPI_MEMORY_WARNING ( Msg)