operator==,!=,<,<=,>,>=(std::set)
提供:cppreference.com
|
|
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. |
テンプレートのループが検出されました:テンプレート:page template
| template< > bool operator==( set<>& lhs, |
(1) | |
| template< > bool operator!=( set<>& lhs, |
(2) | |
| template< > bool operator<( set<>& lhs, |
(3) | |
| template< > bool operator<=( set<>& lhs, |
(4) | |
| template< > bool operator>( set<>& lhs, |
(5) | |
| template< > bool operator>=( set<>& lhs, |
(6) | |
2つの容器の内容を比較.
Original:
Compares the contents of two containers.
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.
1-2) Checks if the contents of
lhs and rhs are equal, that is, whether lhs.size() == rhs.size() and each element in lhs has equivalent element in rhs at the same position.3-6)
lhsの内容を比較し、辞書的にrhs。比較はstd::lexicographical_compareと同等の機能によって実行されます.Original:
Compares the contents of
lhs and rhs lexicographically. The comparison is performed by a function equivalent to std::lexicographical_compare.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.
[編集] パラメータ
| lhs, rhs | - | その内容は比較するコンテナ
Original: containers whose contents to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
1)trueコンテナの内容が同等であるかどうか、そうでなければfalse
2) Original:
true if the contents of the containers are equivalent, false otherwise
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.
trueコンテナの内容が等しくない場合、falseそうでなければ
3) Original:
true if the contents of the containers are not equivalent, false otherwise
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.
true
4) lhsの内容を辞書であればrhsの内容より小さい、falseそうでなければOriginal:
true if the contents of the
lhs are lexicographically less than the contents of rhs, false otherwiseThe 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.
true
5) lhsの内容を辞書であれば未満や等しいrhsの内容は、falseそうでなければOriginal:
true if the contents of the
lhs are lexicographically less than or equal the contents of rhs, false otherwiseThe 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.
true
6) lhsの内容を辞書rhsの内容より'大きい場合、falseそうでなければOriginal:
true if the contents of the
lhs are lexicographically greater than the contents of rhs, false otherwiseThe 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.
true
lhsの内容を辞書であればや等しいより大きい'rhsの内容は、falseそうでなければOriginal:
true if the contents of the
lhs are lexicographically greater than or equal the contents of rhs, false otherwiseThe 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:
Linear in the size of the container
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.