Boost logo

Boost :

From: Martin Bonner (martin.bonner_at_[hidden])
Date: 2005-09-19 03:58:00


----Original Message----
From: Daryle Walker [mailto:darylew_at_[hidden]]
Sent: 18 September 2005 20:54
To: Boost mailing list
Subject: Re: [boost] [Review] xpressive

> Making something like:
>
> std::copy( pieces.begin(), pieces.end(), destination );
>
> completely useless isn't unfriendly?

> You'll have to use a (mutable) object to store
> "pieces.begin()" so you can increment it before the copy

??? Why can't you use:
     std::copy( ++pieces.begin(), pieces.end(), destination );

-- 
Martin Bonner
Martin.Bonner_at_[hidden]
Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ,
ENGLAND Tel: +44 (0)1223 441434

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