ptr_fun(), mem_fun() docs: Remove left-overs from sigc++-2.0
[libsigcplusplus.mirror.git] / sigc++ / functors / ptr_fun.h
index b188317..1c6e265 100644 (file)
@@ -26,10 +26,7 @@ namespace sigc
 {
 
 /** @defgroup ptr_fun ptr_fun()
- * ptr_fun() creates a functor from a pointer to a function.
- * If the function pointer is to an overloaded type, you must specify
- * the types using template arguments starting with the first argument.
- * It is not necessary to supply the return type.
+ * %ptr_fun() creates a functor from a pointer to a function.
  *
  * @par Example:
  * @code
@@ -37,6 +34,9 @@ namespace sigc
  * sigc::slot<void(int)> sl = sigc::ptr_fun(&foo);
  * @endcode
  *
+ * If the function pointer is to an overloaded type, you must specify
+ * the types using template arguments.
+ *
  * @par Example:
  * @code
  * void foo(int) {}  // choose this one
@@ -45,7 +45,7 @@ namespace sigc
  * sigc::slot<void(long)> sl = sigc::ptr_fun<void, int>(&foo);
  * @endcode
  *
- * ptr_fun() can also be used to convert a pointer to a static member
+ * %ptr_fun() can also be used to convert a pointer to a static member
  * function to a functor, like so:
  *
  * @par Example: