Boost logo

Boost :

From: Kevin Wheatley (hxpro_at_[hidden])
Date: 2005-01-28 08:13:40


Peter Dimov wrote:
> Mark Helzer wrote:
> > Kewl, that works, I got a little further down the path. Next problem:
> >
> > cxx: Error: /adp/local/src/boost_1_32_0/boost/bind.hpp, line 206: #266
> > "value" is ambiguous
>
> Can you please try adding _bi:: in front of value and see if this fixes the
> problem?

The following patch (against 1.32) certainly allows the MIPS Pro
compiler to compile that file without the two ambiguity errors.

Kevin

-- 
| Kevin Wheatley, Cinesite (Europe) Ltd | Nobody thinks this      |
| Senior Technology                     | My employer for certain |
| And Network Systems Architect         | Not even myself         |

--- /tmp/bind.hpp.orig Fri Jan 28 10:56:34 2005
+++ /data/RnD/3rdPartyLibraries/www.boost.org/boost_1_32_0/boost/bind.hpp Fri Jan 28 10:55:52 2005
@@ -203,9 +203,9 @@
 
     A1 operator[] (boost::arg<1> (*) ()) const { return a1_; }
 
- template<class T> T & operator[] (value<T> & v) const { return v.get(); }
+ template<class T> T & operator[] (_bi::value<T> & v) const { return v.get(); }
 
- template<class T> T const & operator[] (value<T> const & v) const { return v.get(); }
+ template<class T> T const & operator[] (_bi::value<T> const & v) const { return v.get(); }
 
     template<class T> T & operator[] (reference_wrapper<T> const & v) const { return v.get(); }


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