名前空間
変種
操作

C++ コンセプト: LessThanComparable

提供: cppreference.com
< cpp‎ | concept
 
 
C + +の概念
基本
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ライブラリワイド
Original:
Library-Wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
EqualityComparable
LessThanComparable
Swappable(C++11)
ValueSwappable(C++11)
コンテナ
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
コンテナ要素
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
イテレータ
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
乱数
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
同時実行
Original:
Concurrency
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
BasicLockable(C++11)
Lockable(C++11)
TimedLockable(C++11)
Mutex(C++11)
TimedMutex(C++11)
その他
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 

型は<演算子で比較できる必要があり、結果は標準のセマンティクスを持たなければなりません.

[編集] 要件

Expression Requirements Return type
a < b
  • !(x < x)
  • もしa < bならば!(b < a)
  • a < bかつb < cならばa < c (厳密な弱順序関係)
boolまたはboolに暗黙型変換可能な型