Add max-size to static-size objects

This commit is contained in:
Behdad Esfahbod 2023-07-24 20:31:12 -06:00
parent e322949b9b
commit 8eb7889fd4

View file

@ -104,6 +104,7 @@ static inline Type& StructAfter(TObject &X)
unsigned int get_size () const { return (size); } \
static constexpr unsigned null_size = (size); \
static constexpr unsigned min_size = (size); \
static constexpr unsigned max_size = (size); \
static constexpr unsigned static_size = (size)
#define DEFINE_SIZE_UNION(size, _member) \