Commit 0ac2197c authored by Davis King's avatar Davis King

updated docs

parent a6707422
......@@ -630,8 +630,11 @@
<spec_file>dlib/assert.h</spec_file>
<description>
<p>
This is a macro function for debugging. Its form is <tt>DLIB_ASSERT(condition that should be
true,error message)</tt>. If the condition is false DLIB_ASSERT throws an exception of type
This is a macro function for debugging. Its form is
<code_box>DLIB_ASSERT(condition that should be true, error message)</code_box>
or you can omit the error message and call it like:
<code_box>DLIB_ASSERT(condition that should be true)</code_box>
If the condition is false DLIB_ASSERT throws an exception of type
dlib::fatal_error with fatal_error::type == EBROKEN_ASSERT. An error message detailing
the nature of the problem is stored in the member variable info which is of type std::string.
Look in the following file for more details. The exception classes are defined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment