A zero class with a null output adapter. More...
Public Types | |
typedef null | value_type |
Public Types inherited from zero | |
typedef zero | value_type |
Public Member Functions | |
constexpr | null () noexcept |
Null constructible. More... | |
constexpr | null (Istream &) noexcept |
Construct from Istream consumes no content. More... | |
Public Member Functions inherited from zero | |
constexpr | zero () noexcept |
Default construct. More... | |
constexpr | zero (Istream &) noexcept |
Construct from Istream consumes no content. More... | |
constexpr | operator bool () const noexcept |
Return false (0) for bool. More... | |
constexpr | operator label () const noexcept |
Return 0 for label. More... | |
constexpr | operator float () const noexcept |
Return 0 for float. More... | |
constexpr | operator double () const noexcept |
Return 0 for double. More... | |
zero | operator[] (const label) const noexcept |
Component-wise or element-wise access returns zero. More... | |
Static Public Attributes | |
static null | dummy |
A static zero::null for dereferencing as a dummy element. More... | |
typedef null value_type |
|
static |
A static zero::null for dereferencing as a dummy element.
Definition at line 138 of file zero.H.
Referenced by HashTableSingle< K >::cval(), and HashTableSingle< K >::val().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.