Boost logo

Boost Users :

From: Tanton Gibbs (thgibbs_at_[hidden])
Date: 2002-08-02 15:00:12


I had a problem with using mpl::find and the std::find at the same time.
Basically, my compiler, Compaq C++ V6.5-026, notes an ambiguity in find.hpp
between the find_if that it uses and the find_if in the STL. I changed the
line that reads

struct find
       : find_if< Sequence, same_as<T> > {};

to be
struct find
       : mpl::find_if< Sequence, same_as<T> > {};

and it works fine. I'm not sure if this is a compiler bug or if we need to
find other occurences like this one and fix them.

Any help is appreciated.

Tanton


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