tmp/tmp289_3dq4/{from.md → to.md}
RENAMED
|
@@ -1,17 +1,15 @@
|
|
| 1 |
##### Class template `move_only_function` <a id="func.wrap.move.class">[[func.wrap.move.class]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
-
template<class... S> class move_only_function; // not defined
|
| 6 |
-
|
| 7 |
template<class R, class... ArgTypes>
|
| 8 |
class move_only_function<R(ArgTypes...) cv ref noexcept(noex)> {
|
| 9 |
public:
|
| 10 |
using result_type = R;
|
| 11 |
|
| 12 |
-
// [func.wrap.move.ctor], constructors,
|
| 13 |
move_only_function() noexcept;
|
| 14 |
move_only_function(nullptr_t) noexcept;
|
| 15 |
move_only_function(move_only_function&&) noexcept;
|
| 16 |
template<class F> move_only_function(F&&);
|
| 17 |
template<class T, class... Args>
|
|
|
|
| 1 |
##### Class template `move_only_function` <a id="func.wrap.move.class">[[func.wrap.move.class]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
|
|
|
|
|
|
| 5 |
template<class R, class... ArgTypes>
|
| 6 |
class move_only_function<R(ArgTypes...) cv ref noexcept(noex)> {
|
| 7 |
public:
|
| 8 |
using result_type = R;
|
| 9 |
|
| 10 |
+
// [func.wrap.move.ctor], constructors, assignments, and destructor
|
| 11 |
move_only_function() noexcept;
|
| 12 |
move_only_function(nullptr_t) noexcept;
|
| 13 |
move_only_function(move_only_function&&) noexcept;
|
| 14 |
template<class F> move_only_function(F&&);
|
| 15 |
template<class T, class... Args>
|