A class representing the concept of -1.
More...
A class representing the concept of -1.
- Note
- this class must never be derived from Foam::one, since this could potentially mask its behaviour.
Definition at line 105 of file one.H.
◆ value_type
◆ minus() [1/2]
Default construct.
Definition at line 112 of file one.H.
◆ minus() [2/2]
|
inlineexplicitconstexprnoexcept |
Construct from Istream consumes no content.
Definition at line 115 of file one.H.
◆ operator label()
constexpr operator label |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Return -1 for label.
Definition at line 119 of file one.H.
◆ operator float()
constexpr operator float |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Return -1 for float.
Definition at line 125 of file one.H.
◆ operator double()
constexpr operator double |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Return -1 for double.
Definition at line 131 of file one.H.
The documentation for this class was generated from the following file:
- src/OpenFOAM/primitives/one/one.H