Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
0ac2197c
Commit
0ac2197c
authored
Aug 28, 2016
by
Davis King
Browse files
updated docs
parent
a6707422
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
docs/docs/metaprogramming.xml
docs/docs/metaprogramming.xml
+5
-2
No files found.
docs/docs/metaprogramming.xml
View file @
0ac2197c
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment