A single value that is represented as a list with an operator[] to access the value. This can be useful for templated operations expecting a list accessor. More...
Public Member Functions | |
UniformList (const T &val) noexcept | |
Construct from given value. More... | |
UniformList (T &&val) noexcept | |
Move construct from given value. More... | |
const T & | value () const noexcept |
Return the value. More... | |
T & | value () noexcept |
Non-const access to the value. More... | |
operator const T & () const noexcept | |
Implicit cast to the value. More... | |
const T & | operator[] (const label) const noexcept |
Return the value. More... | |
A single value that is represented as a list with an operator[] to access the value. This can be useful for templated operations expecting a list accessor.
Definition at line 54 of file UniformList.H.
|
inlineexplicitnoexcept |
Construct from given value.
Definition at line 66 of file UniformList.H.
|
inlineexplicitnoexcept |
Move construct from given value.
Definition at line 72 of file UniformList.H.
|
inlinenoexcept |
Return the value.
Definition at line 81 of file UniformList.H.
Referenced by Foam::max(), and Foam::min().
|
inlinenoexcept |
Non-const access to the value.
Definition at line 87 of file UniformList.H.
|
inlinenoexcept |
Implicit cast to the value.
Definition at line 96 of file UniformList.H.
|
inlinenoexcept |
Return the value.
Definition at line 102 of file UniformList.H.