Possible Duplicate:
what does malloc(0) return ?
Does it return zero pointer? Is the behavior standardized?
How about STL allocator?
I googled it, but couldn't pinpoint the answer I was looking for.
EDIT: The linked question doesn't explain STL allocator.
I have another relevant question. What happens if one tries to deallocate zero pointer?
allocator.deallocate(0, 1);