tmp/tmpakjrsnry/{from.md → to.md}
RENAMED
|
@@ -1,27 +0,0 @@
|
|
| 1 |
-
### Base <a id="depr.base">[[depr.base]]</a>
|
| 2 |
-
|
| 3 |
-
The class templates `unary_function` and `binary_function` are
|
| 4 |
-
deprecated. A program shall not declare specializations of these
|
| 5 |
-
templates.
|
| 6 |
-
|
| 7 |
-
``` cpp
|
| 8 |
-
namespace std {
|
| 9 |
-
template <class Arg, class Result>
|
| 10 |
-
struct unary_function {
|
| 11 |
-
typedef Arg argument_type;
|
| 12 |
-
typedef Result result_type;
|
| 13 |
-
};
|
| 14 |
-
}
|
| 15 |
-
```
|
| 16 |
-
|
| 17 |
-
``` cpp
|
| 18 |
-
namespace std {
|
| 19 |
-
template <class Arg1, class Arg2, class Result>
|
| 20 |
-
struct binary_function {
|
| 21 |
-
typedef Arg1 first_argument_type;
|
| 22 |
-
typedef Arg2 second_argument_type;
|
| 23 |
-
typedef Result result_type;
|
| 24 |
-
};
|
| 25 |
-
}
|
| 26 |
-
```
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|