Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2003-10-23 10:11:40


On Thu, Oct 23, 2003 at 11:11:56PM +1000, Thorsten Ottosen wrote:
>
> >
> > 12) OK, I'm beginning to see the consistency in the *2.hpp headers now,
> but
> > maybe if that's the intent, and you do want to keep them, then why not
> call
> > them *_predicates.hpp, so we know what's what? Just a thought.
>
> just a quick question: why are the predicate versions not called _if, eg.
>
> trim_if( s, is_space<char>() );

"Layering" convention (or separation to different namespaces) is used all over the library.
I won't argue if it is good or not, but the trim only follows this convetion.
So instead of using different name, I have used the different namespace.

Regards,

Pavol


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