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()
에 대한 참조로 전달됩니다.
참고 항목
|
(deprecated in C++11)
(removed in C++17)
|
객체 참조로 호출 가능한 멤버 함수 포인터에 대한 래퍼 생성
(function template) |
|
(deprecated in C++11)
(removed in C++17)
|
객체 포인터로 호출 가능한 0항 또는 1항 멤버 함수 포인터에 대한 래퍼
(class template) |