[libcxx-commits] [libcxx] [libc++] Fixed uniform_real_distribution.h where it was allowing initialization with non floating point types (PR #70485)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 27 11:35:05 PDT 2023
================
@@ -14,6 +14,7 @@
#include <__random/is_valid.h>
#include <iosfwd>
#include <limits>
+#include <type_traits>
----------------
philnik777 wrote:
Please include `<__type_traits/is_floating_point.h>` instead.
https://github.com/llvm/llvm-project/pull/70485
More information about the libcxx-commits
mailing list