This depends on U actually being safe. And it (should) also depend on emplace being safe too.