Boost logo

Boost :

Subject: Re: [boost] [move] [range] move algorithm (was: interest: the pass-by-value...)
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-02-19 13:54:04


El 18/02/2014 19:21, Adam Wulkiewicz escribió:
> I'll wait for the feedback from the rest of the community. Ion are you
> ok with this?

A forward move iterator is very useful when inserting values in
containers. The forward property is used to know how many elements are
in the range. After that, each element is only moved once. I see no
problem with this approach.

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk