tinystl
tinystl copied to clipboard
Fix undefined behaviour (arithmetic on null pointer)
This is being caught be clang's undefined behaviour sanitiser. See https://godbolt.org/z/nWf48K Normally I wouldn't worry about this sort of language-lawyer level thing but it's making tinystl unusable with the sanitiser.