`absl::int128` and `absl::uint128` are not `std::is_integral`. There is an internal `IsIntegral` type trait we could use, but it actually makes more sense to remove the `static_assert` altogether. Any compile-time validation should be done in `absl::Uniform` itself, and duplicating that logic here just increases the chance of divergence. PiperOrigin-RevId: 635971431 Change-Id: I9177ae64c86ee1abe6571e0b29aba1844553c972
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| internal | Loading commit data... | |
| BUILD.bazel | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| benchmarks.cc | Loading commit data... | |
| bernoulli_distribution.h | Loading commit data... | |
| bernoulli_distribution_test.cc | Loading commit data... | |
| beta_distribution.h | Loading commit data... | |
| beta_distribution_test.cc | Loading commit data... | |
| bit_gen_ref.h | Loading commit data... | |
| bit_gen_ref_test.cc | Loading commit data... | |
| discrete_distribution.cc | Loading commit data... | |
| discrete_distribution.h | Loading commit data... | |
| discrete_distribution_test.cc | Loading commit data... | |
| distributions.h | Loading commit data... | |
| distributions_test.cc | Loading commit data... | |
| examples_test.cc | Loading commit data... | |
| exponential_distribution.h | Loading commit data... | |
| exponential_distribution_test.cc | Loading commit data... | |
| gaussian_distribution.cc | Loading commit data... | |
| gaussian_distribution.h | Loading commit data... | |
| gaussian_distribution_test.cc | Loading commit data... | |
| generators_test.cc | Loading commit data... | |
| log_uniform_int_distribution.h | Loading commit data... | |
| log_uniform_int_distribution_test.cc | Loading commit data... | |
| mock_distributions.h | Loading commit data... | |
| mock_distributions_test.cc | Loading commit data... | |
| mocking_bit_gen.h | Loading commit data... | |
| mocking_bit_gen_test.cc | Loading commit data... | |
| poisson_distribution.h | Loading commit data... | |
| poisson_distribution_test.cc | Loading commit data... | |
| random.h | Loading commit data... | |
| seed_gen_exception.cc | Loading commit data... | |
| seed_gen_exception.h | Loading commit data... | |
| seed_sequences.cc | Loading commit data... | |
| seed_sequences.h | Loading commit data... | |
| seed_sequences_test.cc | Loading commit data... | |
| uniform_int_distribution.h | Loading commit data... | |
| uniform_int_distribution_test.cc | Loading commit data... | |
| uniform_real_distribution.h | Loading commit data... | |
| uniform_real_distribution_test.cc | Loading commit data... | |
| zipf_distribution.h | Loading commit data... | |
| zipf_distribution_test.cc | Loading commit data... |