operator==,!=(std::function)
提供: cppreference.com
< cpp | utility | functional | function
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
template< class R, class... ArgTypes > bool operator==( const function<R(ArgTypes...)>& f, std::nullptr_t ); |
(1) | |
template< class R, class... ArgTypes > bool operator==( std::nullptr_t, const function<R(ArgTypes...)>& f ); |
(2) | |
template< class R, class... ArgTypes > bool operator!=( const function<R(ArgTypes...)>& f, std::nullptr_t ); |
(3) | |
template< class R, class... ArgTypes > bool operator!=( std::nullptr_t, const function<R(ArgTypes...)>& f ); |
(4) | |
NULLポインターを
std::function
を比較.Original:
Compares a
std::function
with a null pointer.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] パラメータ
f | - | std::function 比較することができますOriginal: std::function to compareThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
1-2) !f
3-4) (bool) f
[編集] 例
This section is incomplete Reason: no example |