Boost logo

Boost :

Subject: Re: [boost] [Review:Algorithms] Boost.Algorithms Review
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2011-10-02 18:52:46

Marshall Clow wrote:
> On Oct 1, 2011, at 4:58 PM, Stewart, Robert wrote:
> > I have a problem with the physical design. all.hpp is not
> > the file I'd expect to find any_of or none_of. I'd prefer to
> > see them moved to any.hpp and none.hpp. I realize that
> > none_of must test all elements in a range in the case when no
> > element matches the predicate, but that doesn't make me think
> > of all.hpp as the place to find it.
> I've gone back and forth with this idea.
> I think that's a good idea for the searching routines, but not
> for any/all/none - but it's a matter of taste; because the
> any/of/all routines are so small.
> I'd like to avoid the general case where each algorithm has
> it's own header file, because that adds to programmer
> annoyance (and compile time).
> That being said, I don't think that all the algorithms in the
> library should go into the same header file, either.

A generalized name for the group would work. Choosing one of the three, however, isn't helpful.

Rob Stewart robert.stewart_at_[hidden]
Software Engineer using std::disclaimer;
Dev Tools & Components
Susquehanna International Group, LLP


IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

Boost list run by bdawes at, gregod at, cpdaniel at, john at