sophus
example_ensure_handler.cpp
Go to the documentation of this file.
1
#include "
common.hpp
"
2
3
#include <cstdio>
4
#include <cstdlib>
5
6
namespace
Sophus
{
7
void
ensureFailed
(
char
const
*
function
,
char
const
* file,
int
line,
8
char
const
* description) {
9
std::printf(
"Sophus ensure failed in function '%s', file '%s', line %d.\n"
,
10
file,
function
, line);
11
std::printf(
"Description: %s\n"
, description);
12
std::abort();
13
}
14
}
// namespace Sophus
common.hpp
Sophus
Definition:
average.hpp:17
Sophus::ensureFailed
void ensureFailed(char const *function, char const *file, int line, char const *description)
Definition:
example_ensure_handler.cpp:7
sophus
Author(s): Hauke Strasdat
autogenerated on Wed Mar 2 2022 01:01:47