Bound pre-allocation to the maximal size representable by StorageIndex and throw bad_alloc if that's not possible.
1 file changed