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
4369c683
Commit
4369c683
authored
May 28, 2011
by
Davis King
Browse files
updated docs
parent
5b2228e0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
docs/docs/metaprogramming.xml
docs/docs/metaprogramming.xml
+22
-0
docs/docs/term_index.xml
docs/docs/term_index.xml
+1
-0
No files found.
docs/docs/metaprogramming.xml
View file @
4369c683
...
@@ -66,6 +66,7 @@
...
@@ -66,6 +66,7 @@
<item>
DLIB_CASSERT
</item>
<item>
DLIB_CASSERT
</item>
<item>
COMPILE_TIME_ASSERT
</item>
<item>
COMPILE_TIME_ASSERT
</item>
<item>
ASSERT_ARE_SAME_TYPE
</item>
<item>
ASSERT_ARE_SAME_TYPE
</item>
<item>
DLIB_ASSERT_HAS_STANDARD_LAYOUT
</item>
<item>
ASSERT_ARE_NOT_SAME_TYPE
</item>
<item>
ASSERT_ARE_NOT_SAME_TYPE
</item>
<item>
_dT
</item>
<item>
_dT
</item>
<item>
TIME_THIS
</item>
<item>
TIME_THIS
</item>
...
@@ -480,6 +481,27 @@
...
@@ -480,6 +481,27 @@
</component>
</component>
<!-- ************************************************************************* -->
<component>
<name>
DLIB_ASSERT_HAS_STANDARD_LAYOUT
</name>
<file>
dlib/assert.h
</file>
<spec_file
link=
"true"
>
dlib/assert.h
</spec_file>
<description>
<p>
This macro is meant to cause a compiler error if a type doesn't have a simple
memory layout (like a C struct). In particular, types with simple layouts are
ones which can be copied via memcpy().
</p>
This was called a POD type in C++03 and in C++0x we are looking to check if
it is a "standard layout type". Once we can use C++0x we can change this macro
to something that uses the std::is_standard_layout type_traits class.
See: http://www2.research.att.com/~bs/C++0xFAQ.html#PODs
</description>
</component>
<!-- ************************************************************************* -->
<!-- ************************************************************************* -->
<component>
<component>
...
...
docs/docs/term_index.xml
View file @
4369c683
...
@@ -438,6 +438,7 @@
...
@@ -438,6 +438,7 @@
<term
file=
"metaprogramming.html"
name=
"ASSERT_ARE_SAME_TYPE"
/>
<term
file=
"metaprogramming.html"
name=
"ASSERT_ARE_SAME_TYPE"
/>
<term
file=
"metaprogramming.html"
name=
"DLIB_CASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"DLIB_CASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"COMPILE_TIME_ASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"COMPILE_TIME_ASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"DLIB_ASSERT_HAS_STANDARD_LAYOUT"
/>
<term
file=
"metaprogramming.html"
name=
"TIME_THIS"
/>
<term
file=
"metaprogramming.html"
name=
"TIME_THIS"
/>
<term
link=
"metaprogramming.html#TIME_THIS"
name=
"TIME_THIS_TO"
/>
<term
link=
"metaprogramming.html#TIME_THIS"
name=
"TIME_THIS_TO"
/>
<term
file=
"metaprogramming.html"
name=
"_dT"
/>
<term
file=
"metaprogramming.html"
name=
"_dT"
/>
...
...
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