[all-commits] [llvm/llvm-project] d272d9: [libc++][NFC] Simplify the implementation of `nume...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Feb 8 10:23:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d272d944de9f0cb274752f77e97d4ceab2401ec5
      https://github.com/llvm/llvm-project/commit/d272d944de9f0cb274752f77e97d4ceab2401ec5
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M libcxx/include/limits

  Log Message:
  -----------
  [libc++][NFC] Simplify the implementation of `numeric_limits` (#80425)

The cv specializations for `numeric_limits` inherited privately for some
reason. We can simplify the implementation by inheriting publicly and
removing the members that just replicate the values from the base class.




More information about the All-commits mailing list