std::locale::operator==, operator!=
提供: cppreference.com
<tbody>
</tbody>
| ヘッダ <locale> で定義
|
||
bool operator==( const locale& other ) const; |
(1) | |
bool operator!=( const locale& other ) const; |
(2) | |
2つのロケールが等しいかどうか調べます。 名前付きのロケールはその名前が等しい場合に等しいとみなされます。 名前のないロケールはそれらがお互いのコピーである場合に等しいとみなされます。
引数
| other | - | 比較する std::locale オブジェクト |
戻り値
1)
other が *this のコピーであるか同一の名前を持つ場合は true、そうでなければ false。2)
other が *this のコピーであるか同一の名前を持つ場合は false、そうでなければ true。例
| This section is incomplete Reason: no example |
関連項目
| 新しいロケールを構築します (パブリックメンバ関数) | |
| ロケールの名前、または名前がない場合は "*" を返します (パブリックメンバ関数) |