Returns a copy of the underlying storage. We cannot return a reference or pointer because it may be unaligned (this class is packed) and unaligned pointers may lead to undefined behaviour. For a particular storage size, there is only one representation for any decimal and the storage is directly comparable.
| 182 | /// For a particular storage size, there is |
| 183 | /// only one representation for any decimal and the storage is directly comparable. |
| 184 | inline T value() const { return value_; } |
| 185 | |
| 186 | /// Sets the underlying storage to the given value. |
| 187 | inline void set_value(T value) { |
no outgoing calls