class
#include <slang/numeric/ConstantValue.h>
ConstantValue Contents
- Reference
Represents a constant (compile-time evaluated) value, of one of a few possible types. By default the value is indeterminate, or "bad". Expressions involving bad values result in bad values, as you might expect.
Public types
- struct NullPlaceholder
- This type represents the null value (class handles, etc) in expressions.
Public functions
- auto bitstreamWidth() const -> size_t
- Gets the size of this value when converted to a bitstream.