Is there a suffix for size_t?
I want to define MAX_LINE_LENGTH as a size_t.
The best I could come up with was
#define MAX_LINE_LENGTH ((size_t)80)
but I wonder if there's a more beautiful construct, like
/* Error: Invalid suffix "ZU" */
/* #define MAX_LINE_LENGTH 80ZU */
I want to define MAX_LINE_LENGTH as a size_t.
The best I could come up with was
#define MAX_LINE_LENGTH ((size_t)80)
but I wonder if there's a more beautiful construct, like
/* Error: Invalid suffix "ZU" */
/* #define MAX_LINE_LENGTH 80ZU */
Comment