Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2004-05-23 11:57:19


> > I added several algorithms that extent STL algorithms set....
> >
> I think they belong to boost::algorithm.
>
> Wouldn't it make sense to add overloads
> that use std::pair<iter, iter>?, e.g:
>
> template <class InputIter1, class InputIter2>
> inline std::pair<InputIter1, InputIter2>
> mismatch(
> const std::pair<InputIter1, InputIter1>& seq1,
> const std::pair<InputIter2, InputIter2>& seq2
> )

I don't think so. current STL doesn't have it. In a future I would rather
prefer to have "container" version of all STL algorithms (using recently
accepter container traits) and std::pair will be accepted automatically.

Gennadiy.


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