[C++-sig] Re: using map_indexing_suite: make_tuple ambiguous?
dave at boost-consulting.com
Tue May 4 13:02:10 CEST 2004
Joel de Guzman <joel at boost-consulting.com> writes:
> David Abrahams wrote:
>> The following message is a courtesy copy of an article
>> that has been posted to gmane.comp.python.c++ as well.
>> Dave Berton <db at nec-labs.com> writes:
>>>I am trying to wrap a std::map<> using the map_indexing_suite<>, however
>>>I am getting 'call of overloaded make_tuple() is ambiguous'. The
>> The compiler is right. There's a bug in map_indexing_suite.hpp (or
>> the C++ language definition; darned ADL again!)
>> You should change line 95 from:
>> return "(%s, %s)" % make_tuple(e.first, e.second);
>> return "(%s, %s)" % python::make_tuple(e.first,
>> Joel, will you add Dave Berton's change to the test suite, then make
>> this change in CVS and verify that it fixes things?
> Done. I added a test and verified that everything works as expected.
> I'm having some CVS problems, however. I'll commit as soon as I find
> out why I'm getting these CVS errors.
If your CVS/Root files say cvs.boost.sourceforge.net you need to
change them to say cvs.sourceforge.net. I posted a procedure that
works in cygwin bash to the boost-devel list a few days ago.
More information about the Cplusplus-sig