commit | 99437be7cf791b5cef4782b4274f26d57244d63f | [log] [tgz] |
---|---|---|
author | Peng Liu <winner245@hotmail.com> | Tue Oct 29 01:29:37 2024 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Oct 28 22:33:22 2024 -0700 |
tree | 3409ede42126e1336977893986be97089202bd06 | |
parent | 912c0962bfa6851af782ad2eb66387e199af79cc [diff] |
Add exception guard for constructor vector(n, x, a) (#113086) Added exception guard to the `vector(n, x, a)` constructor to enhance exception safety. This change ensures that the `vector(n, x, a)` constructor is consistent with other constructors, such as `vector(n)`, `vector(n, x)`, `vector(n, a)`, in terms of exception safety. GitOrigin-RevId: d3b98559be72682da45df73522173cb315912f6f