[all-commits] [llvm/llvm-project] d38d8c: [libc++] Simplify more <random> engines (#195504)

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Sun May 3 23:28:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d38d8c6226fad08e38655624a0f2296a1aeea695
      https://github.com/llvm/llvm-project/commit/d38d8c6226fad08e38655624a0f2296a1aeea695
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M libcxx/include/__random/independent_bits_engine.h
    M libcxx/include/__random/linear_congruential_engine.h
    M libcxx/include/__random/shuffle_order_engine.h
    M libcxx/include/__random/subtract_with_carry_engine.h

  Log Message:
  -----------
  [libc++] Simplify more <random> engines (#195504)

This uses `if _LIBCPP_CONSTEXPR` to simplify and deduplicate some of the
code for the random engines.



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