[all-commits] [llvm/llvm-project] 31e769: [libc++] Makes saturation functions privately avai...

Mark de Wever via All-commits all-commits at lists.llvm.org
Wed Apr 24 08:42:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31e769cfadf0bd99a990508600ef5bfeaaf44b0d
      https://github.com/llvm/llvm-project/commit/31e769cfadf0bd99a990508600ef5bfeaaf44b0d
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

  Changed paths:
    M libcxx/include/__numeric/saturation_arithmetic.h

  Log Message:
  -----------
  [libc++] Makes saturation functions privately available. (#89503)

These functions are useful in the implementation of the time zone
database. So expose them with private names.

The functions could be exposed before C++ 20, but since libc++ is mostly
C++ 17 complete it seems less useful to allow earlier.

---------

Co-authored-by: Hristo Hristov <zingam at outlook.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list