https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108760

Michael Levine <mlevine55 at bloomberg dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mlevine55 at bloomberg dot net

--- Comment #2 from Michael Levine <mlevine55 at bloomberg dot net> ---
(In reply to Daniel Krügler from comment #1)
> (In reply to 康桓瑋 from comment #0)
> > It seems wrong that libstdc++ needs to include <algorithm> for ranges::iota.
> 
> I agree, this looks like a defect, both std::iota and std::ranges:iota are
> specified to be part of header <numerics>

Should it not require including <algorithm> even though it seems to be a use of
a constrained algorithm through C++20 that is in the namespace std::ranges? 
https://en.cppreference.com/w/cpp/algorithm

Reply via email to