std::function::operator bool
提供: cppreference.com
< cpp | utility | functional | function
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
explicit operator bool() const; |
(C++11およびそれ以降) | |
*thisが呼び出し可能な関数のターゲットを格納するかどうかをチェックし、つまりは空ではありません.
Original:
Checks whether *this stores a callable function target, i.e. is not empty.
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.
[編集] パラメータ
(なし)
[編集] 値を返します
true*thisさもなければfalse、呼び出し可能な関数のターゲットを格納する場合.
Original:
true if *this stores a callable function target, false otherwise.
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.