Boost logo

Boost :

From: Eric Friedman (ebf_at_[hidden])
Date: 2003-04-03 02:24:05


Gennadiy Rozental wrote:
> > > mpl/contain.hpp
> > > I think this is in Alexey direction: it may worth generalizing this
> > > function so that if the second argument is the sequence it will
> > > check that one sequence contain another.
>
> Alexey,
>
> What do you think about this proposition?

In the STL, the algorithm you describe is called std::includes.
(http://www.sgi.com/tech/stl/includes.html for details.)

 - Eric


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