[libcxx-commits] [PATCH] D99624: [libc++] Remove UB in std::list

Amy Huang via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 23 16:40:43 PDT 2021


akhuang added a comment.

Don't know of a good way to make it work in c++03 (aside from a suggestion to use a char buffer for `__value_` and put reinterpret_casts everywhere). Overall the change seems less nice, but I just made a patch that does it here: https://reviews.llvm.org/D101206

Also not sure if this code is actually ok, but the tests seem to pass


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99624/new/

https://reviews.llvm.org/D99624



More information about the libcxx-commits mailing list