std::function::target_type
提供:cppreference.com
< cpp | utility | functional | function
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| const std::type_info& target_type() const; |
(C + + 11以来) | |
格納された関数の型を返します.
Original:
Returns the type of the stored function.
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.
[編集] 値を返します
typeid(T)ストアド·ファンクションは、そうでなければタイプ
T、typeid(void)を持っている場合Original:
typeid(T) if the stored function has type
T, otherwise typeid(void)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 |
[編集] も参照してください
| target_type |
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. (パブリックメンバ関数) |