On Tue, 30 Jul 2024 10:19:59 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> All right, this looks fine. (I am somewhat allergic to `{}` syntax, but it is > what it is.) The hoops one had to go through to get guaranteed value-initialization before we had brace initialization are really not pretty. See https://www.boost.org/doc/libs/1_85_0/libs/utility/doc/html/utility/utilities/value_init.html and its associated implementation. It might help if we were to commit to using direct brace initialization whenever appropriate, but that hasn't happened. ------------- PR Comment: https://git.openjdk.org/jdk/pull/20385#issuecomment-2259500102