[Issue 12293] forward should be moved to std.functional

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Apr 26 14:07:09 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12293

--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
(In reply to Kenji Hara from comment #3)
> (In reply to Andrej Mitrovic from comment #2)
> > No, I've changed the title. See the history here:
> > https://issues.dlang.org/show_activity.cgi?id=12293
> 
> If the reason comes from just your feeling, I cannot agree with the title.

I wasn't the one to suggest it, it was monarchdodra. Originally I made the pull
that added 'forward' to the cheat-sheet of the std.algorithm page. I can
recreate this pull again if desired.

> std.algorithm.forward is in the same category of std.algorithm.move and swap.
> Why they are in std.algorithm module? Because in C++03, std::swap was in
> <algorithm> header. So in D, swap, move, and forward are in std.algorithm.

That sounds reasonable to me then. Unless monarchdodra objects I'll recreate
the cheat-sheet pull.

--


More information about the Digitalmars-d-bugs mailing list