A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to be zero at compile-time. It is also used for tagged dispatch.
More...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to be zero at compile-time. It is also used for tagged dispatch.
- Source files
-
- See also
- Foam::one
Definition at line 58 of file zero.H.
◆ value_type
◆ zero() [1/2]
◆ zero() [2/2]
|
inlineexplicitconstexprnoexcept |
◆ operator bool()
constexpr operator bool |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ operator label()
constexpr operator label |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ operator float()
constexpr operator float |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ operator double()
constexpr operator double |
( |
| ) |
const |
|
inlineconstexprnoexcept |
The documentation for this class was generated from the following file:
- src/OpenFOAM/primitives/zero/zero.H