mkdocs: reference underlying operators
This commit is contained in:
parent
2f6dac55c8
commit
271e77110c
@ -15,7 +15,7 @@ bool operator>=(ScalarType lhs, const const_reference rhs) noexcept; // (2)
|
|||||||
according to the following rules:
|
according to the following rules:
|
||||||
- The comparison always yields `#!cpp false` if (1) either operand is discarded, or (2) either
|
- The comparison always yields `#!cpp false` if (1) either operand is discarded, or (2) either
|
||||||
operand is `NaN` and the other operand is either `NaN` or any other number.
|
operand is `NaN` and the other operand is either `NaN` or any other number.
|
||||||
- Otherwise, returns the result of `#!cpp !(lhs < rhs)`.
|
- Otherwise, returns the result of `#!cpp !(lhs < rhs)` (see [**operator<**](operator_lt.md)).
|
||||||
|
|
||||||
2. Compares wether a JSON value is greater than or equal to a scalar or a scalar is greater than or
|
2. Compares wether a JSON value is greater than or equal to a scalar or a scalar is greater than or
|
||||||
equal to a JSON value by converting the scalar to a JSON value and comparing both JSON values
|
equal to a JSON value by converting the scalar to a JSON value and comparing both JSON values
|
||||||
|
|||||||
@ -15,7 +15,7 @@ bool operator>(ScalarType lhs, const const_reference rhs) noexcept; // (2)
|
|||||||
following rules:
|
following rules:
|
||||||
- The comparison always yields `#!cpp false` if (1) either operand is discarded, or (2) either
|
- The comparison always yields `#!cpp false` if (1) either operand is discarded, or (2) either
|
||||||
operand is `NaN` and the other operand is either `NaN` or any other number.
|
operand is `NaN` and the other operand is either `NaN` or any other number.
|
||||||
- Otherwise, returns the result of `#!cpp !(lhs <= rhs)`.
|
- Otherwise, returns the result of `#!cpp !(lhs <= rhs)` (see [**operator<=**](operator_le.md)).
|
||||||
|
|
||||||
2. Compares wether a JSON value is greater than a scalar or a scalar is greater than a JSON value by
|
2. Compares wether a JSON value is greater than a scalar or a scalar is greater than a JSON value by
|
||||||
converting the scalar to a JSON value and comparing both JSON values according to 1.
|
converting the scalar to a JSON value and comparing both JSON values according to 1.
|
||||||
|
|||||||
@ -15,7 +15,7 @@ bool operator<=(ScalarType lhs, const const_reference rhs) noexcept; // (2)
|
|||||||
according to the following rules:
|
according to the following rules:
|
||||||
- The comparison always yields `#!cpp false` if (1) either operand is discarded, or (2) either
|
- The comparison always yields `#!cpp false` if (1) either operand is discarded, or (2) either
|
||||||
operand is `NaN` and the other operand is either `NaN` or any other number.
|
operand is `NaN` and the other operand is either `NaN` or any other number.
|
||||||
- Otherwise, returns the result of `#!cpp !(rhs < lhs)`.
|
- Otherwise, returns the result of `#!cpp !(rhs < lhs)` (see [**operator<**](operator_lt.md)).
|
||||||
|
|
||||||
1. Compares wether a JSON value is less than or equal to a scalar or a scalar is less than or equal
|
1. Compares wether a JSON value is less than or equal to a scalar or a scalar is less than or equal
|
||||||
to a JSON value by converting the scalar to a JSON value and comparing both JSON values according
|
to a JSON value by converting the scalar to a JSON value and comparing both JSON values according
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user