An interval with independently open or closed endpoints. More...
An interval with independently open or closed endpoints.
| T | Endpoint type. |
| left | Whether the lower endpoint is open or closed. |
| right | Whether the upper endpoint is open or closed. |
Public Member Functions | |
| constexpr bool | operator== (interval const &rhs) const |
| Compare both interval endpoints. | |
| constexpr bool | operator!= (interval const &rhs) const |
| Test whether either interval endpoint differs. | |
Public Attributes | |
| T | low |
| T | high |
|
inlineconstexpr |
Test whether either interval endpoint differs.
| rhs | Interval to compare with. |
|
inlineconstexpr |
Compare both interval endpoints.
| rhs | Interval to compare with. |
| T envitia::interval< T, left, right >::high |
| T envitia::interval< T, left, right >::low |