On Thu, Feb 09, 2006 at 11:56:56PM +0100, Abdelrazak Younes wrote:
> Andre Poenitz a écrit :
> >>-class ParagraphList : public std::vector<Paragraph>
> >>+using namespace std;
> >
> >Please no 'using' in headers.
> 
> Sure, this was just a quickly made proof of concept.
> 
> >>-   ParagraphList::const_iterator p = par + 1;
> >>+   ParagraphList::const_iterator p = par; p++;
> >
> >Or 'p = boost::next(par)' ...
> 
> I don't see much the advantage but OK.

It gives you an advantage when Lars sees the code...

> >     bool result = true;
> >     for (size_t i = start; i < end; ++i)
> >
> >People are picky here ;-}
> 
> That picky? ;-)

Worse.

Andre'

Reply via email to