Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
After a <<<ref_value>> is constructed, its kind can change depending on what is assigned to it, or by calling functions such as <> 构造之后,其类型可根据赋值内容或通过调用<<ref_value_emplace_array,`value::emplace_array`>> or <> 或 <<ref_value_emplace_bool,`value::emplace_bool`>>. If the assignment is successful, in other words it completes without any exceptions then the value is replaced. Otherwise, the value is unchanged. All operations which can fail to modify a value offer the strong exception safety guarantee.> 等函数来改变。如果赋值成功,即未引发任何异常,则该值将被替换。否则,原值保持不变。所有可能修改值失败的操作均提供强异常安全保证。</ref_value_emplace_bool,`value::emplace_bool`></ref_value_emplace_array,`value::emplace_array`></ref_value>