Drake
drake_assert_and_throw.cc File Reference
#include "drake/common/drake_assert.h"
#include "drake/common/drake_throw.h"
#include <atomic>
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include "drake/common/drake_assertion_error.h"
#include "drake/common/never_destroyed.h"
Include dependency graph for drake_assert_and_throw.cc:

Namespaces

 drake
 
 drake::detail
 

Functions

void Abort (const char *condition, const char *func, const char *file, int line)
 
void Throw (const char *condition, const char *func, const char *file, int line)
 
void AssertionFailed (const char *condition, const char *func, const char *file, int line)
 
void drake_set_assertion_failure_to_throw_exception ()
 

Function Documentation

void drake_set_assertion_failure_to_throw_exception ( )

Here is the caller graph for this function:

Variable Documentation

std::atomic<bool> assertion_failures_are_exceptions