A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are known to be zero at compile-time.
More...
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are known to be zero at compile-time.
- Source files
-
Definition at line 49 of file zero.H.
◆ value_type
◆ zero()
Construct null.
Definition at line 58 of file zero.H.
◆ operator bool()
Return 0 for bool.
Definition at line 65 of file zero.H.
◆ operator label()
Return 0 for label.
Definition at line 71 of file zero.H.
◆ operator float()
Return 0 for float.
Definition at line 77 of file zero.H.
◆ operator double()
operator double |
( |
| ) |
const |
|
inline |
Return 0 for double.
Definition at line 83 of file zero.H.
◆ operator long double()
operator long double |
( |
| ) |
const |
|
inline |
Return 0 for double.
Definition at line 89 of file zero.H.
The documentation for this class was generated from the following file:
- src/OpenFOAM/primitives/zero/zero.H