A class representing the concept of 1 (scalar(1)) used to avoid unnecessary manipulations for objects which are known to be one at compile-time. More...
Public Types | |
typedef one | value_type |
Public Member Functions | |
one () | |
Construct null. More... | |
operator label () const | |
Return 1 for label. More... | |
operator float () const | |
Return 1 for float. More... | |
operator double () const | |
Return 1 for double. More... | |
operator long double () const | |
Return 1 for double. More... | |
A class representing the concept of 1 (scalar(1)) used to avoid unnecessary manipulations for objects which are known to be one at compile-time.
typedef one value_type |
|
inline |
Construct null.
Definition at line 59 of file one.H.
Referenced by oneField::operator[](), and geometricOneField::operator[]().