diff options
Diffstat (limited to 'libcxx/include/random')
-rw-r--r-- | libcxx/include/random | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libcxx/include/random b/libcxx/include/random index 2e271cec46ad..41ee4d85fda3 100644 --- a/libcxx/include/random +++ b/libcxx/include/random @@ -1677,6 +1677,7 @@ class piecewise_linear_distribution } // std */ +#include <__assert> // all public C++ headers provide the assertion handler #include <__config> #include <__random/bernoulli_distribution.h> #include <__random/binomial_distribution.h> @@ -1694,6 +1695,7 @@ class piecewise_linear_distribution #include <__random/geometric_distribution.h> #include <__random/independent_bits_engine.h> #include <__random/is_seed_sequence.h> +#include <__random/is_valid.h> #include <__random/knuth_b.h> #include <__random/linear_congruential_engine.h> #include <__random/log2.h> @@ -1714,10 +1716,15 @@ class piecewise_linear_distribution #include <__random/uniform_random_bit_generator.h> #include <__random/uniform_real_distribution.h> #include <__random/weibull_distribution.h> -#include <initializer_list> #include <version> -#include <algorithm> // for backward compatibility; TODO remove it +#ifndef _LIBCPP_REMOVE_TRANSITIVE_INCLUDES +# include <algorithm> +#endif + +// standard-mandated includes +#include <initializer_list> + #include <cmath> // for backward compatibility; TODO remove it #include <cstddef> // for backward compatibility; TODO remove it #include <cstdint> // for backward compatibility; TODO remove it @@ -1729,7 +1736,7 @@ class piecewise_linear_distribution #include <vector> // for backward compatibility; TODO remove it #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) -#pragma GCC system_header +# pragma GCC system_header #endif #endif // _LIBCPP_RANDOM |