> IMHO, adding NULL objects is likely an error not a legitimate use case for
> adding ring elements.
> 
> Can anyone think of a use case where adding NULL pointer objects makes
> sense?
> 
[BR] As well as the use case already mentioned of passing using NULLs, there is 
also the scenario where we want to use the rings to pass integers e.g. 
uintptr_t values as array indexes, instead of pointers. While NULL may not be a 
valid pointer value, zero is a very common integer value.

Reply via email to