carb::operator<
Defined in carb/Version.h
- 
constexpr bool carb::operator<(const Version &lhs, const Version &rhs) noexcept
- Less-than comparison operator. - Compares two versions and reports true if the left version is lower than the right. - Note - The major and minor versions are compared independently. While the number - 1.11is less than the number- 1.9, version- 1.11is considered to be higher, so- Version{ 1, 9 } < Version{ 1, 11 }would be- true.- Parameters
- lhs – The version on the left side of the operation 
- rhs – The version on the right side of the operation 
 
- Returns
- trueif- lhsis a lower version than- rhs;- falseotherwise.