名前空間
変種
操作

「cpp/error/set unexpected」の版間の差分

提供: cppreference.com
< cpp‎ | error
(1版:Translate from the English version)
 
(2人の利用者による、間の4版が非表示)
1行: 1行:
{{tr_note}}
 
 
{{cpp/title|set_unexpected}}
 
{{cpp/title|set_unexpected}}
 
{{cpp/error/navbar}}
 
{{cpp/error/navbar}}
{{ddcl list begin}}
+
{{begin}}
{{ddcl list header | exception}}
+
{{header | exception}}
{{ddcl list item | 1=
+
{{
std::unexpected_handler set_unexpected( std::unexpected_handler f )
+
| =
 +
std::unexpected_handler set_unexpected( std::unexpected_handler f )
 
}}
 
}}
{{ddcl list end}}
+
{{
 +
 +
 +
 +
end}}
  
{{tr|{{tt|f}}新しいグローバル{{c|std::unexpected_handler}}になり、以前にインストールされ{{c|std::unexpected_handler}}を返します。.|Makes {{tt|f}} the new global {{c|std::unexpected_handler}} and returns the previously installed {{c|std::unexpected_handler}}.}}
+
{{tt|f}} {{|std::unexpected_handler}} {{|std::unexpected_handler}} を返します。
 +
 
 +
|
 +
{{tt|}} {{|std::}} {{|std::}}
 +
}}
  
===パラメータ===
+
======
{{param list begin}}
+
{{begin}}
{{param list item | f |{{tr| タイプ{{c|std::unexpected_handler}}、またはNULLポインタの関数へのポインタ| pointer to function of type {{c|std::unexpected_handler}}, or null pointer}}}}
+
{{| f | {{|std::unexpected_handler}} }}
{{param list end}}
+
{{end}}
  
===値を返します===
+
======
{{tr|以前にインストールした予期しないハンドラ、またはどれもインストールされていない場合は、nullポインタ値.|The previously-installed unexpected handler, or a null pointer value if none was installed.}}
+
unexpected
  
===例外===
+
======
{{noexcept}}
+
{{
 +
 +
 +
 +
}}
  
===も参照してください===
+
{{|||}}
{{dcl list begin}}
+
{{dcl list template | cpp/error/dcl list unexpected}}
+
{{dcl list template | cpp/error/dcl list get_unexpected}}
+
{{dcl list template | cpp/error/dcl list unexpected_handler}}
+
{{dcl list end}}
+

2018年12月11日 (火) 19:31時点における最新版