std::function_ref:: operator()
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Old binders and adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
function_ref::operator()
|
||||
| Deduction guides |
|
R operator
(
)
(
Args...
args
)
const
noexcept
(
/*noex*/
)
;
|
(C++26부터) | |
저장된
thunk-ptr
를 첫 번째 매개변수로
bound-entity
와 함께, 나머지 매개변수
args
를 사용하여 호출합니다.
/*noex*/
부분은
operator
(
)
의 템플릿 매개변수와
std::function_ref
의 해당 부분과 동일합니다.
다음에 해당함:
return
thunk-ptr
(
bound-entity
,
std::
forward
<
Args
>
(
args
)
...
)
;
.
목차 |
매개변수
| args | - |
저장된
thunk-ptr
에 전달할 나머지 매개변수
|
반환값
thunk-ptr
(
bound-entity
,
std::
forward
<
Args
>
(
args
)
...
)
.
예외
기본 함수 호출에서 발생한 예외를 전파합니다.
예제
|
이 섹션은 불완전합니다
이유: 예제 없음 |
참고 항목
|
대상 호출
(
std::function<R(Args...)>
의
public member function)
|
|
|
저장된 함수 호출
(
std::reference_wrapper<T>
의
public member function)
|