![]() |
Qore Programming Language 2.3.0
|
Minimal value type with uninitialized default constructor for use in unions. More...
#include <QoreValue.h>
Public Member Methods | |
| QoreSimpleValue () noexcept=default | |
| Default constructor - leaves bits UNINITIALIZED (required for unions) | |
| QoreSimpleValue (const QoreSimpleValue &) noexcept=default | |
| Copy constructor - trivial. | |
| DLLLOCAL | QoreSimpleValue (const QoreValue &v) noexcept |
| Construct from QoreValue (implicit conversion) | |
| DLLLOCAL | operator bool () const noexcept |
| Explicit bool conversion - true if not Nothing (bits != 0) and not Null. | |
| QoreSimpleValue & | operator= (const QoreSimpleValue &) noexcept=default |
| Copy assignment - trivial. | |
| DLLLOCAL QoreSimpleValue & | operator= (const QoreValue &v) noexcept |
| Assignment from QoreValue. | |
| DLLLOCAL uint64_t | rawBits () const noexcept |
| Returns the raw bits for debugging/serialization. | |
| DLLLOCAL void | setRawBits (uint64_t b) noexcept |
| Set raw bits directly (for deserialization) | |
Public Attributes | |
| uint64_t | bits |
| The raw 64-bit NaN-boxed value - PUBLIC for direct access in parser. | |
Minimal value type with uninitialized default constructor for use in unions.
This hashdecl is designed for use in:
WARNING: Default constructor leaves bits UNINITIALIZED. Convert to QoreValue before calling any methods.
|
inlineexplicitnoexcept |
Explicit bool conversion - true if not Nothing (bits != 0) and not Null.
Note: This is a quick check, not a full type analysis
References bits.