operator==,!= (std::experimental::function)
|
헤더에 정의됨
<experimental/functional>
|
||
|
template
<
class
R,
class
...
ArgTypes
>
bool
operator
==
(
const
std::
experimental
::
function
<
R
(
ArgTypes...
)
>
&
f,
|
(1) | (라이브러리 fundamentals TS) |
|
template
<
class
R,
class
...
ArgTypes
>
bool
operator
==
(
std::
nullptr_t
,
|
(2) |
(라이브러리 fundamentals TS)
(라이브러리 fundamentals TS v3에서 제거됨) |
|
template
<
class
R,
class
...
ArgTypes
>
bool
operator
!
=
(
const
std::
experimental
::
function
<
R
(
ArgTypes...
)
>
&
f,
|
(3) |
(라이브러리 fundamentals TS)
(라이브러리 fundamentals TS v3에서 제거됨) |
|
template
<
class
R,
class
...
ArgTypes
>
bool
operator
!
=
(
std::
nullptr_t
,
|
(4) |
(라이브러리 fundamentals TS)
(라이브러리 fundamentals TS v3에서 제거됨) |
std::experimental::function
을 null 포인터와 비교합니다. 빈 함수(즉, 호출 가능한 대상이 없는 함수)는 동일하게 비교되고, 비어 있지 않은 함수는 동일하지 않게 비교됩니다.
|
|
(라이브러리 펀더멘털 TS v3) |
매개변수
| f | - |
std::experimental::function
와 비교할 대상
|
반환값
참고 항목
|
(C++20에서 제거됨)
|
std::function
을
nullptr
와 비교
(함수 템플릿) |