std::function::target
提供: cppreference.com
< cpp | utility | functional | function
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
template< class T > T* target(); |
(1) | (C++11およびそれ以降) |
template< class T > const T* target() const; |
(2) | (C++11およびそれ以降) |
ストアド·ファンクションのターゲットへのポインタを返します。.
Original:
Returns a pointer to the stored function target.
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.
目次 |
[編集] パラメータ
(なし)
Original:
(none)
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.
[編集] 値を返します
ストアド·ファンクション
target_type
() == typeid(T)場合、そうでない場合はnullポインタへのポインタ..Original:
A pointer to the stored function if
target_type
() == typeid(T), otherwise 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.
[編集] 例外
[編集] 例
This section is incomplete Reason: no example |
[編集] も参照してください
typeidの格納されたターゲットのstd::functionを取得します Original: obtains the typeid of the stored target of a std::function The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |