[libcxx-commits] [libcxx] [libc++][NFC] Simplify the implementation of `numeric_limits` (PR #80425)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 8 08:47:33 PST 2024
https://github.com/ldionne approved this pull request.
After discussion, we can't think of a case that this refactoring breaks. Regarding the fly-by removal of `__remove_cv_t`, it was previously impossible to call `__libcpp_numeric_limits` with a cv-qualified type anyway, cause they were stripped by the top-level `numeric_limits` templates.
So I think this is fine, however let's monitor this patch in case someone complains, since it's possible the code was written this way for a reason back in the days, and we just can't figure it out right now.
https://github.com/llvm/llvm-project/pull/80425
More information about the libcxx-commits
mailing list