From Jason Turner

[depr.lib.binder.1st]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp0rv95dk5/{from.md → to.md} +0 -24
tmp/tmp0rv95dk5/{from.md → to.md} RENAMED
@@ -1,24 +0,0 @@
1
- ### Class template `binder1st` <a id="depr.lib.binder.1st">[[depr.lib.binder.1st]]</a>
2
-
3
- ``` cpp
4
- template <class Fn>
5
- class binder1st
6
- : public unary_function<typename Fn::second_argument_type,
7
- typename Fn::result_type> {
8
- protected:
9
- Fn op;
10
- typename Fn::first_argument_type value;
11
- public:
12
- binder1st(const Fn& x,
13
- const typename Fn::first_argument_type& y);
14
- typename Fn::result_type
15
- operator()(const typename Fn::second_argument_type& x) const;
16
- typename Fn::result_type
17
- operator()(typename Fn::second_argument_type& x) const;
18
- };
19
- ```
20
-
21
- The constructor initializes `op` with `x` and `value` with `y`.
22
-
23
- `operator()` returns `op``(value,x)`.
24
-