avoid aborting with vectors of zero-size types