Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-02-09 09:57:18

The boost/iterator_adaptors.hpp header currently has a local macro for
this named BOOST_RELOPS_AMBIGUITY_BUG. We could move this into config.
Also, whoever fixes shared_ptr and weak_ptr may want to look at how the
workaround was accomplished for iterator_adaptor.

On Sat, 9 Feb 2002, Peter Dimov wrote:
pdimov> The standard library that comes with g++ 2.95.3, mingw32
pdimov> (and possibly with other g++ versions) has the
pdimov> std::rel_ops template operators in the global namespace.
pdimov> This breaks many user-defined operator!= overloads; in
pdimov> particular, shared_ptr and weak_ptr are affected.
pdimov> The g++ STL, when in "std:: mode", defines these operators
pdimov> in namespace std; however, even in this case, they still
pdimov> have the potential to break user code (for instance when
pdimov> using shared_ptr<std::vector>, std:: is reachable via
pdimov> argument-dependent lookup.)
pdimov> Perhaps we need a config macro to detect this case.
pdimov> --
pdimov> Peter Dimov
pdimov> Multi Media Ltd.
pdimov> Info: Send unsubscribe requests to: <mailto:boost-unsubscribe_at_[hidden]>
pdimov> Your use of Yahoo! Groups is subject to

 Jeremy Siek
 Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
 C++ Booster ( office phone: (812) 855-3608

Boost list run by bdawes at, gregod at, cpdaniel at, john at