Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-12-14 13:04:32


"Ovanes Markarian" <om_boost_at_[hidden]> writes:

> I believe I found some problem, when I was writing the test cases ;) It is for sure responsible
> for the reported misbehavior with max_element.
>
>
> Well, I don't know how to deal with this issue, may be you can
> advice smth. Map accepts sequence of type pair. Vector as well. My
> approach was to think, as long as mpl::pair static interface (first,
> second) is valid I can use another class as well.

Clearly from your experiments you can see that you can't actually do
that.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net