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

: 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
&,CGAL::Counting_iterator<I,Val> &)' [found using argument-dependent lookup]


or 'boost::tuples::tuple<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>
&,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 VISUAL 10
#include <tuple>

in a boost config file.

Then you should experience a regression in your testsuite.

Best regards,


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:

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