|
|
|
|
@@ -203,15 +203,6 @@
|
|
|
|
|
<throws><simpara>Will not throw unless copying the target of <code>f</code> throws.</simpara></throws>
|
|
|
|
|
</constructor>
|
|
|
|
|
|
|
|
|
|
<constructor>
|
|
|
|
|
<parameter name="f">
|
|
|
|
|
<paramtype><classname>functionN</classname>&&</paramtype>
|
|
|
|
|
</parameter>
|
|
|
|
|
<requires><simpara>C++11 compatible compiler.</simpara></requires>
|
|
|
|
|
<postconditions><simpara>Moves the value from <code>f</code> to <code>*this</code>. If the argument has its function object allocated on the heap, its buffer will be assigned to <code>*this</code> leaving argument empty.</simpara></postconditions>
|
|
|
|
|
<throws><simpara>Will not throw unless argument has its function object allocated not on the heap and copying the target of <code>f</code> throws.</simpara></throws>
|
|
|
|
|
</constructor>
|
|
|
|
|
|
|
|
|
|
<constructor>
|
|
|
|
|
<template>
|
|
|
|
|
<template-type-parameter name="F"/>
|
|
|
|
|
@@ -245,15 +236,6 @@
|
|
|
|
|
</parameter>
|
|
|
|
|
<postconditions><simpara>If copy construction does not throw, <code>*this</code> targets a copy of <code>f</code>'s target, if it has one, or is empty if <code>f.<methodname>empty</methodname>()</code>. If copy construction does throw, <code>this-><methodname>empty</methodname>()</code>.</simpara></postconditions>
|
|
|
|
|
</copy-assignment>
|
|
|
|
|
|
|
|
|
|
<copy-assignment>
|
|
|
|
|
<parameter name="f">
|
|
|
|
|
<paramtype><classname>functionN</classname>&&</paramtype>
|
|
|
|
|
</parameter>
|
|
|
|
|
<requires><simpara>C++11 compatible compiler.</simpara></requires>
|
|
|
|
|
<postconditions><simpara>Moves the value from <code>f</code> to <code>*this</code>. If the argument has its function object allocated on the heap, its buffer will be assigned to <code>*this</code> leaving argument empty.</simpara></postconditions>
|
|
|
|
|
<throws><simpara>Will not throw unless argument has its function object allocated not on the heap and copying the target of <code>f</code> throws.</simpara></throws>
|
|
|
|
|
</copy-assignment>
|
|
|
|
|
|
|
|
|
|
<method-group name="modifiers">
|
|
|
|
|
<method name="swap">
|
|
|
|
|
@@ -625,16 +607,7 @@
|
|
|
|
|
<postconditions><simpara>Contains a copy of the <code>f</code>'s target, if it has one, or is empty if <code>f.<methodname>empty</methodname>()</code>.</simpara></postconditions>
|
|
|
|
|
<throws><simpara>Will not throw unless copying the target of <code>f</code> throws.</simpara></throws>
|
|
|
|
|
</constructor>
|
|
|
|
|
|
|
|
|
|
<constructor>
|
|
|
|
|
<parameter name="f">
|
|
|
|
|
<paramtype><classname>functionN</classname>&&</paramtype>
|
|
|
|
|
</parameter>
|
|
|
|
|
<requires><simpara>C++11 compatible compiler.</simpara></requires>
|
|
|
|
|
<postconditions><simpara>Moves the value from <code>f</code> to <code>*this</code>. If the argument has its function object allocated on the heap, its buffer will be assigned to <code>*this</code> leaving argument empty.</simpara></postconditions>
|
|
|
|
|
<throws><simpara>Will not throw unless argument has its function object allocated not on the heap and copying the target of <code>f</code> throws.</simpara></throws>
|
|
|
|
|
</constructor>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<constructor>
|
|
|
|
|
<parameter name="f">
|
|
|
|
|
<paramtype>const <classname>function</classname>&</paramtype>
|
|
|
|
|
@@ -643,15 +616,6 @@
|
|
|
|
|
<throws><simpara>Will not throw unless copying the target of <code>f</code> throws.</simpara></throws>
|
|
|
|
|
</constructor>
|
|
|
|
|
|
|
|
|
|
<constructor>
|
|
|
|
|
<parameter name="f">
|
|
|
|
|
<paramtype><classname>function</classname>&&</paramtype>
|
|
|
|
|
</parameter>
|
|
|
|
|
<requires><simpara>C++11 compatible compiler.</simpara></requires>
|
|
|
|
|
<postconditions><simpara>Moves the value from <code>f</code> to <code>*this</code>. If the argument has its function object allocated on the heap, its buffer will be assigned to <code>*this</code> leaving argument empty.</simpara></postconditions>
|
|
|
|
|
<throws><simpara>Will not throw unless argument has its function object allocated not on the heap and copying the target of <code>f</code> throws.</simpara></throws>
|
|
|
|
|
</constructor>
|
|
|
|
|
|
|
|
|
|
<constructor>
|
|
|
|
|
<template>
|
|
|
|
|
<template-type-parameter name="F"/>
|
|
|
|
|
@@ -681,19 +645,10 @@
|
|
|
|
|
|
|
|
|
|
<copy-assignment>
|
|
|
|
|
<parameter name="f">
|
|
|
|
|
<paramtype>const <classname>functionN</classname>&</paramtype>
|
|
|
|
|
<paramtype>const <classname>function</classname>&</paramtype>
|
|
|
|
|
</parameter>
|
|
|
|
|
<postconditions><simpara>If copy construction does not throw, <code>*this</code> targets a copy of <code>f</code>'s target, if it has one, or is empty if <code>f.<methodname>empty</methodname>()</code>. If copy construction does throw, <code>this-><methodname>empty</methodname>()</code>.</simpara></postconditions>
|
|
|
|
|
</copy-assignment>
|
|
|
|
|
|
|
|
|
|
<copy-assignment>
|
|
|
|
|
<parameter name="f">
|
|
|
|
|
<paramtype><classname>functionN</classname>&&</paramtype>
|
|
|
|
|
</parameter>
|
|
|
|
|
<requires><simpara>C++11 compatible compiler.</simpara></requires>
|
|
|
|
|
<postconditions><simpara>Moves the value from <code>f</code> to <code>*this</code>. If the argument has its function object allocated on the heap, its buffer will be assigned to <code>*this</code> leaving argument empty.</simpara></postconditions>
|
|
|
|
|
<throws><simpara>Will not throw unless argument has its function object allocated not on the heap and copying the target of <code>f</code> throws.</simpara></throws>
|
|
|
|
|
</copy-assignment>
|
|
|
|
|
|
|
|
|
|
<copy-assignment>
|
|
|
|
|
<parameter name="f">
|
|
|
|
|
@@ -702,15 +657,6 @@
|
|
|
|
|
<postconditions><simpara>If copy construction of the target of <code>f</code> does not throw, <code>*this</code> targets a copy of <code>f</code>'s target, if it has one, or is empty if <code>f.<methodname>empty</methodname>()</code>. </simpara></postconditions>
|
|
|
|
|
<throws><simpara>Will not throw when the target of <code>f</code> is a stateless function object or a reference to the function object. If copy construction does throw, <code>this-><methodname>empty</methodname>()</code>.</simpara></throws>
|
|
|
|
|
</copy-assignment>
|
|
|
|
|
|
|
|
|
|
<copy-assignment>
|
|
|
|
|
<parameter name="f">
|
|
|
|
|
<paramtype><classname>function</classname>&&</paramtype>
|
|
|
|
|
</parameter>
|
|
|
|
|
<requires><simpara>C++11 compatible compiler.</simpara></requires>
|
|
|
|
|
<postconditions><simpara>Moves the value from <code>f</code> to <code>*this</code>. If the argument has its function object allocated on the heap, its buffer will be assigned to <code>*this</code> leaving argument empty.</simpara></postconditions>
|
|
|
|
|
<throws><simpara>Will not throw unless argument has its function object allocated not on the heap and copying the target of <code>f</code> throws.</simpara></throws>
|
|
|
|
|
</copy-assignment>
|
|
|
|
|
|
|
|
|
|
<method-group name="modifiers">
|
|
|
|
|
<method name="swap">
|
|
|
|
|
|