[flang-commits] [flang] [libc++] Fixed uniform_real_distribution.h where it was allowing initialization with non floating point types (PR #70485)
via flang-commits
flang-commits at lists.llvm.org
Fri Oct 27 11:35:06 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 flang-commits
mailing list