Commit f0705c93 authored by Davis King's avatar Davis King

updated docs

parent 0eb9fb52
...@@ -380,7 +380,7 @@ ...@@ -380,7 +380,7 @@
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<component checked="true"> <component>
<name>member_function_pointer</name> <name>member_function_pointer</name>
<file>dlib/member_function_pointer.h</file> <file>dlib/member_function_pointer.h</file>
<spec_file>dlib/member_function_pointer/member_function_pointer_kernel_abstract.h</spec_file> <spec_file>dlib/member_function_pointer/member_function_pointer_kernel_abstract.h</spec_file>
...@@ -388,34 +388,17 @@ ...@@ -388,34 +388,17 @@
This object represents a member function pointer. It is useful because This object represents a member function pointer. It is useful because
instances of this object can be created without needing to know the type instances of this object can be created without needing to know the type
of object whose member function we will be calling. of object whose member function we will be calling.
<p>
The implementation of this object 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.
</p>
</description> </description>
<examples> <examples>
<example>member_function_pointer_ex.cpp.html</example> <example>member_function_pointer_ex.cpp.html</example>
</examples> </examples>
<implementations>
<implementation>
<name>member_function_pointer_kernel_1</name>
<file>dlib/member_function_pointer/member_function_pointer_kernel_1.h</file>
<description>
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.
</description>
<typedefs>
<typedef>
<name>kernel_1a</name>
<description>is a typedef for member_function_pointer_kernel_1</description>
</typedef>
</typedefs>
</implementation>
</implementations>
</component> </component>
......
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