std::pointer_to_binary_function
cppreference.net에서
template<
class Arg1,
class Arg2,
class Result
> class pointer_to_binary_function : public std::binary_function<Arg1, Arg2, Result>;
|
(C++11에서 폐지됨) (C++17에서 제거됨) |
|
std::pointer_to_binary_function은 이진 함수 주위의 래퍼 역할을 하는 함수 객체입니다.
멤버 함수
|
(생성자)
|
제공된 함수로 새로운
pointer_to_binary_function
객체를 생성합니다
(public 멤버 함수) |
|
operator()
|
저장된 함수를 호출합니다
(public 멤버 함수) |
std::pointer_to_binary_function:: pointer_to_binary_function
|
explicit
pointer_to_binary_function
(
Result
(
*
f
)
(
Arg1,Arg2
)
)
;
|
||
pointer_to_binary_function
함수 객체를 저장된 함수
f
로 생성합니다.
매개변수
| f | - | 저장할 함수에 대한 포인터 |
std::pointer_to_binary_function:: operator()
|
Result operator
(
)
(
Arg1 x1, Arg2 x2
)
const
;
|
||
저장된 함수를 호출합니다.
매개변수
| x1, x2 | - | 함수에 전달할 인수들 |
반환 값
호출된 함수가 반환하는 값.
참고 항목
|
(deprecated in C++11)
(removed in C++17)
|
단항 함수 포인터를 위한 어댑터 호환 래퍼
(클래스 템플릿) |
|
(deprecated in C++11)
(removed in C++17)
|
함수 포인터로부터 어댑터 호환 함수 객체 래퍼 생성
(함수 템플릿) |