From ff441e55969e8d1556bbd0e1534e640ba4158295 Mon Sep 17 00:00:00 2001 From: Davis King Date: Fri, 31 Oct 2008 04:08:46 +0000 Subject: [PATCH] updated the docs --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402618 --- docs/docs/metaprogramming.xml | 15 +++++++++++++++ docs/docs/other.xml | 4 +++- docs/docs/term_index.xml | 1 + 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/docs/metaprogramming.xml b/docs/docs/metaprogramming.xml index e73ccb379..7eac3b4c4 100644 --- a/docs/docs/metaprogramming.xml +++ b/docs/docs/metaprogramming.xml @@ -31,6 +31,7 @@
Objects is_pointer_type + is_const_type is_same_type is_function is_signed_type @@ -262,6 +263,20 @@ + + is_const_type + dlib/algs.h + dlib/algs.h + + This is a template where is_const_type<T>::value == true when T is a const + type ane false otherwise. + + + + + + + is_pointer_type dlib/algs.h diff --git a/docs/docs/other.xml b/docs/docs/other.xml index 45ad34699..7525551d6 100644 --- a/docs/docs/other.xml +++ b/docs/docs/other.xml @@ -277,7 +277,9 @@ member_function_pointer_kernel_1 dlib/member_function_pointer/member_function_pointer_kernel_1.h - This implementation is done using virtual functions in the obvious way (sorta). + This implementation is done using type erasure and placement new. This + means that it never allocates memory on the heap and instead stores everything + on the stack. diff --git a/docs/docs/term_index.xml b/docs/docs/term_index.xml index bc1b34c5e..c146ff221 100644 --- a/docs/docs/term_index.xml +++ b/docs/docs/term_index.xml @@ -610,6 +610,7 @@ +