Opened 13 years ago

Closed 12 years ago

#3073 closed Bugs (fixed)

[assign] list_inserter regression test failure on VC10

Reported by: Richard Webb <richard.webb@…> Owned by: Thorsten Ottosen
Milestone: Boost 1.40.0 Component: assign
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

The list_inserter test is failing on VC10 Beta 1: http://tinyurl.com/pc75e5

There are 2 problems here:

1) there is a possible ambiguity between boost::bind and std::tr1::bind. QUalifying the call to bind avoids this.

2) the bind to vector::push_back fails because there are now 2 versions of push_back (one that takes 'const T&' and one that takes 'T&&').

Applying the workaround that is currently used for Borland (line 66 of list_inserter.cpp) avoids the ambiguity and allows the test to pass.

The same problem occurs in GCC 4.4 (http://tinyurl.com/qnozer), but that also some other failures as well.

Change History (2)

comment:1 by rwebb <richard.webb@…>, 13 years ago

Summary: [assign] list_inserter regression test failure on VC10 beta 1[assign] list_inserter regression test failure on VC10

Changing the bug title, as this still occurs in the VC10 release candidate.

comment:2 by Steven Watanabe, 12 years ago

Resolution: fixed
Status: newclosed

(In [62737]) Resolve C++0x ambiguities. Fixes #3073

Note: See TracTickets for help on using tickets.