std::filesystem::filesystem_error:: operator=
| Member functions | ||||
|
filesystem_error::operator=
|
||||
| Inherited from std::system_error | ||||
|
filesystem_error
&
operator
=
(
const
filesystem_error
&
other
)
noexcept
;
|
(C++17以降) | |
other
の内容を代入します。
*
this
と
other
の両方が動的型
std::filesystem::filesystem_error
を持つ場合、代入後は
std::
strcmp
(
what
(
)
, other.
what
(
)
)
==
0
となります。
目次 |
パラメータ
| other | - |
代入する別の
filesystem_error
オブジェクト
|
戻り値
* this
注記
一般的な実装では、
path
オブジェクトは
path1()
と
path2()
によって参照され、参照カウント方式のストレージに格納されます。その結果、代入後は
*
this
と
other
が通常
path
オブジェクトを共有します。
例
|
このセクションは不完全です
理由: 例がありません |