Boost logo

Boost Users :

Subject: Re: [Boost-users] [string algorithms] trim, functors
From: Gaydov Victor (victor.gaydov_at_[hidden])
Date: 2010-04-13 07:52:08


On Mon, 2010-04-12 at 23:28 +0100, Mathias Gaunard wrote:
> Gaydov Victor a écrit :
> > On Sun, 2010-04-11 at 21:02 +0200, Pavol Droba wrote:
> >> Hi,
> >>
> >> On 11. 4. 2010 19:40, Mathias Gaunard wrote:
> >>> Gaydov Victor a écrit :
> >>>> Hello. Could you answer these two questions:
> >>>>
> >>>> 1. Are there trim range algorithms that work with iterators, instead of
> >>>> strings? (I didn't find such). If not, why not to add them? Something
> >>>> like this: http://pastebin.org/146696
> >>> You found it yourself: boost::algorithm::detail::trim_end
> >>> I suppose it could become first-class, but there are better solutions,
> >>> like taking a range and returning a subrange.
> >
> > Is it ok, generally, to expect the code using functions from detail:: to
> > work with future versions of boost?
>
> No.
> They're implementation details and shouldn't be used.

Ok, thanks.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net