What do people use to denote that size_t is invalid? -1 does not work, and 0 can be a valid size.
Perhaps ((size_t)-1)
?
Strictly speaking, it is a valid size, but once you have this one you're not likely to need any other ;-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With