[libcxx-commits] [PATCH] D145701: [libc++] Remove conditional usage of rvalue references in C++03

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 9 10:14:52 PST 2023


philnik accepted this revision.
philnik added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libcxx/include/exception:329
     {
         throw static_cast<_Tp&&>(__t);
     }
----------------
Maybe also `std::forward` instead of `static_cast`ing?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145701



More information about the libcxx-commits mailing list