C++ Logo

std-proposals

Advanced search

Re: std::duplicate

From: Michael Spencer <bigcheesegs_at_[hidden]>
Date: Wed, 2 Oct 2019 17:20:11 -0700
On Wed, Oct 2, 2019 at 4:45 PM Lyberta via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> Tony V E via Std-Proposals:
> > Well, since std::move
> > - doesn't move
> > - is an overloaded function name (ie std::move(begin, end, out))
> >
> > We could call it std::copy
>
> std::copy is also an algorithm.
>

So is std::move: https://en.cppreference.com/w/cpp/algorithm/move

- Michael Spencer

Received on 2019-10-02 19:22:34