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