1
0
forked from boostorg/bind

Move away from attributes, toward elements

[SVN r17869]
This commit is contained in:
Douglas Gregor
2003-03-13 00:08:34 +00:00
parent 81c8af90ec
commit b06f6a6d89

View File

@@ -114,16 +114,17 @@
<computeroutput>T</computeroutput>. <computeroutput>T</computeroutput>.
</purpose> </purpose>
<para> <description>
<computeroutput><classname>reference_wrapper</classname></computeroutput> <para><computeroutput><classname>reference_wrapper</classname></computeroutput>
is primarily used to "feed" references to function templates is primarily used to "feed" references to function templates
(algorithms) that take their parameter by value. It provides (algorithms) that take their parameter by value. It provides
an implicit conversion to an implicit conversion to
<computeroutput>T&amp;</computeroutput>, which usually allows <computeroutput>T&amp;</computeroutput>, which usually allows
the function templates to work on references unmodified. the function templates to work on references
</para> unmodified.</para>
</description>
<typedef type="T" name="type"/> <typedef name="type"><type>T</type></typedef>
<constructor> <constructor>
<parameter name="t"> <parameter name="t">
@@ -185,7 +186,12 @@
<purpose>Determine if a type <computeroutput>T</computeroutput> is an instantiation of <computeroutput><classname>reference_wrapper</classname></computeroutput>.</purpose> <purpose>Determine if a type <computeroutput>T</computeroutput> is an instantiation of <computeroutput><classname>reference_wrapper</classname></computeroutput>.</purpose>
<para>The <computeroutput>value</computeroutput> static constant will be <computeroutput>true</computeroutput> iff the type <computeroutput>T</computeroutput> is a specialization of <computeroutput><classname>reference_wrapper</classname></computeroutput>.</para> <description>
<para>The <computeroutput>value</computeroutput> static
constant will be <computeroutput>true</computeroutput> iff the
type <computeroutput>T</computeroutput> is a specialization of
<computeroutput><classname>reference_wrapper</classname></computeroutput>.</para>
</description>
<static-constant type="bool" name="value" value="unspecified"/> <static-constant type="bool" name="value" value="unspecified"/>
</class> </class>
@@ -197,9 +203,15 @@
<purpose>Find the type in a <computeroutput><classname>reference_wrapper</classname></computeroutput>.</purpose> <purpose>Find the type in a <computeroutput><classname>reference_wrapper</classname></computeroutput>.</purpose>
<para>The typedef <computeroutput>type</computeroutput> is <computeroutput>T::type</computeroutput> if <computeroutput>T</computeroutput> is a <computeroutput><classname>reference_wrapper</classname></computeroutput>, <computeroutput>T</computeroutput> otherwise.</para> <description>
<para>The typedef <computeroutput>type</computeroutput> is
<computeroutput>T::type</computeroutput> if
<computeroutput>T</computeroutput> is a
<computeroutput><classname>reference_wrapper</classname></computeroutput>,
<computeroutput>T</computeroutput> otherwise.</para>
</description>
<typedef type="unspecified" name="T"/> <typedef name="T"><type><emphasis>unspecified</emphasis></type></typedef>
</class> </class>
</namespace> </namespace>
</header> </header>