The UIntOrEmpty class is used to define a bitvector that can have a bitwidth of 0.
More...
#include <UIntOrEmpty.h>
template<int W>
class nvhls::UIntOrEmpty< W >
The UIntOrEmpty class is used to define a bitvector that can have a bitwidth of 0.
- Template Parameters
-
W | The width of the bitfield (can be 0). |
- Overview
- UIntOrEmpty allows fields to be elided entirely from a struct in the case that they are not used. If W=0, an EmptyField is instantiated instead of an NVUINT. EmptyField is ignored by the Marshaller and overloads some common operators so that code using it does not need to be special-cased for zero-width parameterizations.
Definition at line 102 of file UIntOrEmpty.h.
The documentation for this class was generated from the following file: