Boost logo

Boost Users :

From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2005-03-14 10:15:43


Thanks! I've committed the fix. My apologies for the delay.

        Doug

On Feb 21, 2005, at 1:57 AM, Todd A. Gibson wrote:

> Bug:
> The header file boost/graph/transitive_closure.hpp contains an
> unscoped call to not1(). This function is defined in both the std
> namespace and the boost namespace (via boost/functional.hpp). If
> boost/functional.hpp is included either directly or indirectly (e.g.,
> via boost/multi_array.hpp) Then any attempted use of
> transitive_closure() will not compile due to the ambiguity.
>
> Solution:
> Scope the call to not1 in boost/graph/transitive_closure.hpp:
> std::not1
>
> Note: This bug can be easily be reproduced by including
> boost/functional.hpp (or boost/multi_array.hpp) To the example
> program transitive_closure.cpp .
>
> Thanks,
> -TAG
> Todd A. Gibson
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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