Date: Fri, 14 Jul 2023 19:01:14 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 271931] The C++20 feature 'std::ranges::copy' is missing Message-ID: <bug-271931-99-cIHYjTsoFh@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271931-99@https.bugs.freebsd.org/bugzilla/> References: <bug-271931-99@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271931 --- Comment #6 from Yuri Victorovich <yuri@freebsd.org> --- https://libcxx.llvm.org//Status/Cxx20.html#cxx20-status says that "The One Ranges Proposal" was completed in llvm-15.0: > P0896R4 LWG The One Ranges Proposal Complete 15.0 Yet std::ranges::for_each which is a part of "The One Ranges Proposal" isn't available in clang installed by the llvm-16 package on FreeBSD 13.2. Do we know why std::ranges::for_each isn't available in clang-16? > In file included from ../include/effects_base.hpp:48: > ../include/rnnoise.hpp:93:11: error: no member named 'for_each' in namesp= ace 'std::ranges'; did you mean 'std::for_each'? > std::ranges::for_each(data_L, [](auto& v) { v *=3D static_cast<= float>(SHRT_MAX + 1); }); > ^~~~~~~~~~~~~~~~~~~~~ > std::for_each > --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271931-99-cIHYjTsoFh>