Boost logo

Boost :

Subject: Re: [boost] [graph] ambiguity for 'tie' VC10
From: Andreas Fabri (andreas.fabri_at_[hidden])
Date: 2010-06-25 03:45:49


Hi Jeremiah,

Here comes the next one

C:\CGAL\boost_1_43_0\stage64\include\boost/graph/filtered_graph.hpp(352)
: error C2668: 'std::tr1::tie' : ambiguous call to overloaded function

         C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\INCLUDE\xxtuple1(34): could be
'std::tr1::tuple<_Arg0,_Arg1,_Arg2,_Arg3,_Arg4,_Arg5,_Arg6,_Arg7,_Arg8,_Arg9>
std::tr1::tie<CGAL::Counting_iterator<I,Val>,CGAL::Counting_iterator<I,Val>>(CGAL::Counting_iterator<I,Val>
&,CGAL::Counting_iterator<I,Val> &)' [found using argument-dependent lookup]

         OR:

 
C:\CGAL\boost_1_43_0\stage64\include\boost/tuple/detail/tuple_basic.hpp(889):
or 'boost::tuples::tuple<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>
boost::tuples::tie<CGAL::Counting_iterator<I,Val>,CGAL::Counting_iterator<I,Val>>(CGAL::Counting_iterator<I,Val>
&,CGAL::Counting_iterator<I,Val> &)'

As I am not a boost developer I don't know how you test,
but the easiest thing would be to add

#ifdef BOOST_TESTSUITE
#ifdef VISUAL 10
#include <tuple>
#endif
#endif

in a boost config file.

Then you should experience a regression in your testsuite.

Best regards,

Andreas

On 22/06/2010 20:04, Jeremiah Willcock wrote:
> On Tue, 22 Jun 2010, Andreas Fabri wrote:
>
>> Hi Jeremiah,
>>
>> I guess in the boost graph testsuite
>> you might try to include ANY boost file
>> together with <tuple>.
>
> I don't have an easy way to test this (a copy of Boost set up with GCC
> 4.5); r63244 fixes all of the bad uses of tie that I could find. Please
> see if any of your issues go away in that version.
>
> -- Jeremiah Willcock
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


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