MOOSE - Multiscale Object Oriented Simulation Environment
Main Page
Namespaces
Classes
Files
Namespace List
Namespace Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Functions
moose::assertion::detail Namespace Reference
Functions
void
assertion_failed_msg
(char const *expr, char const *msg, char const *function, char const *file, long line)
Function Documentation
void moose::assertion::detail::assertion_failed_msg
(
char const *
expr
,
char const *
msg
,
char const *
function
,
char const *
file
,
long
line
)
inline
Definition at line
104
of file
simple_assert.hpp
.
References
SIMPLE_ASSERT_MSG_OSTREAM
.
106
{
107
SIMPLE_ASSERT_MSG_OSTREAM
108
<<
"***** Internal Program Error - assertion ("
<< expr <<
") failed in "
109
<<
function
<<
":\n"
110
<< file <<
'('
<< line <<
"): "
<< msg << std::endl;
111
#ifdef UNDER_CE
112
// The Windows CE CRT library does not have abort() so use exit(-1) instead.
113
std::exit(-1);
114
#else
115
std::abort();
116
#endif
117
}
SIMPLE_ASSERT_MSG_OSTREAM
#define SIMPLE_ASSERT_MSG_OSTREAM
Definition:
simple_assert.hpp:95
moose
assertion
detail
Generated on Tue Sep 4 2018 09:05:43 for MOOSE - Multiscale Object Oriented Simulation Environment by
1.8.6