std:: mem_fun_ref_t, std:: mem_fun1_ref_t, std:: const_mem_fun_ref_t, std:: const_mem_fun1_ref_t
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Old binders and adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ヘッダーで定義
<functional>
|
||
|
template
<
class
S,
class
T
>
class
mem_fun_ref_t
:
public
unary_function
<
T,S
>
{
|
(1) |
(C++11で非推奨)
(C++17で削除) |
|
template
<
class
S,
class
T
>
class
const_mem_fun_ref_t
:
public
unary_function
<
T,S
>
{
|
(2) |
(C++11で非推奨)
(C++17で削除) |
|
template
<
class
S,
class
T,
class
A
>
class
mem_fun1_ref_t
:
public
binary_function
<
T,A,S
>
{
|
(3) |
(C++11で非推奨)
(C++17で削除) |
|
template
<
class
S,
class
T,
class
A
>
class
const_mem_fun1_ref_t
:
public
binary_function
<
T,A,S
>
{
|
(4) |
(C++11で非推奨)
(C++17で削除) |
メンバ関数ポインタのラッパー。メンバ関数を呼び出すクラスインスタンスは、
operator()
への参照として渡されます。
関連項目
|
(C++11で非推奨)
(C++17で削除)
|
オブジェクトへの参照で呼び出し可能なメンバ関数ポインタからのラッパーを作成する
(関数テンプレート) |
|
(C++11で非推奨)
(C++17で削除)
|
オブジェクトへのポインタで呼び出し可能な、引数なしまたは単項メンバ関数ポインタのラッパー
(クラステンプレート) |