mirror of
https://github.com/boostorg/function.git
synced 2025-07-20 08:02:09 +02:00
Move away from attributes, toward elements
[SVN r17869]
This commit is contained in:
@ -100,14 +100,14 @@
|
|||||||
|
|
||||||
<purpose>A set of generalized function pointers that can be used for callbacks or wrapping function objects.</purpose>
|
<purpose>A set of generalized function pointers that can be used for callbacks or wrapping function objects.</purpose>
|
||||||
|
|
||||||
<para>
|
<description>
|
||||||
Class template <classname>functionN</classname> is actually a
|
<para>Class template <classname>functionN</classname> is
|
||||||
family of related classes <classname alt="functionN">function0</classname>,
|
actually a family of related classes <classname
|
||||||
<classname alt="functionN">function1</classname>, etc., up to some
|
alt="functionN">function0</classname>, <classname
|
||||||
implementation-defined maximum. In this context,
|
alt="functionN">function1</classname>, etc., up to some
|
||||||
<code>N</code> refers to the number of
|
implementation-defined maximum. In this context, <code>N</code>
|
||||||
parameters.
|
refers to the number of parameters.</para>
|
||||||
</para>
|
</description>
|
||||||
|
|
||||||
<typedef name="result_type"><type>R</type></typedef>
|
<typedef name="result_type"><type>R</type></typedef>
|
||||||
<typedef name="allocator_type"><type>Allocator</type></typedef>
|
<typedef name="allocator_type"><type>Allocator</type></typedef>
|
||||||
@ -268,27 +268,30 @@
|
|||||||
<class name="function">
|
<class name="function">
|
||||||
<template>
|
<template>
|
||||||
<template-type-parameter name="Signature" comment="Function type R (T1, T2, ..., TN)"/>
|
<template-type-parameter name="Signature" comment="Function type R (T1, T2, ..., TN)"/>
|
||||||
<template-type-parameter name="Allocator" default="std::allocator<void>"/>
|
<template-type-parameter name="Allocator">
|
||||||
|
<default><classname>std::allocator</classname><void></default>
|
||||||
|
</template-type-parameter>
|
||||||
</template>
|
</template>
|
||||||
<inherit access="public"><classname>functionN</classname><R, T1, T2, ..., TN, Allocator></inherit>
|
<inherit access="public"><classname>functionN</classname><R, T1, T2, ..., TN, Allocator></inherit>
|
||||||
|
|
||||||
<purpose>A generalized function pointer that can be used for
|
<purpose>A generalized function pointer that can be used for
|
||||||
callbacks or wrapping function objects.</purpose>
|
callbacks or wrapping function objects.</purpose>
|
||||||
|
|
||||||
<para>
|
<description>
|
||||||
Class template <classname>function</classname> is a thin wrapper
|
<para>Class template <classname>function</classname> is a thin
|
||||||
around the numbered class templates <classname
|
wrapper around the numbered class templates <classname
|
||||||
alt="functionN">function0</classname>, <classname
|
alt="functionN">function0</classname>, <classname
|
||||||
alt="functionN">function1</classname>, etc. It accepts a
|
alt="functionN">function1</classname>, etc. It accepts a
|
||||||
function type with N arguments and will will derive from
|
function type with N arguments and will will derive from
|
||||||
<classname>functionN</classname> instantiated with the arguments it receives.
|
<classname>functionN</classname> instantiated with the arguments
|
||||||
|
it receives.</para>
|
||||||
|
|
||||||
The semantics of all operations in class template
|
<para>The semantics of all operations in class template
|
||||||
<classname>function</classname> are equivalent to that of the underlying
|
<classname>function</classname> are equivalent to that of the
|
||||||
<classname>functionN</classname> object, although additional member
|
underlying <classname>functionN</classname> object, although
|
||||||
functions are required to allow proper copy construction and
|
additional member functions are required to allow proper copy
|
||||||
copy assignment of function objects.
|
construction and copy assignment of function objects.</para>
|
||||||
</para>
|
</description>
|
||||||
|
|
||||||
<typedef name="result_type"><type>R</type></typedef>
|
<typedef name="result_type"><type>R</type></typedef>
|
||||||
<typedef name="allocator_type"><type>Allocator</type></typedef>
|
<typedef name="allocator_type"><type>Allocator</type></typedef>
|
||||||
|
Reference in New Issue
Block a user