Re: [Boost-bugs] [Boost C++ Libraries] #1974: ambiguous call to ref in vector_of_vector.hpp when using bind.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1974: ambiguous call to ref in vector_of_vector.hpp when using bind.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-12-14 17:50:23


#1974: ambiguous call to ref in vector_of_vector.hpp when using bind.hpp
----------------------------------+----------------------
  Reporter: Will Moss <wmoss@…> | Owner: guwi17
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: uBLAS
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+----------------------

Comment (by pa@…):

 Just a heads up: The bug is also present in 1.59 compiled with

 {{{
 $ gcc -v
 Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-
 gxx-include-dir=/usr/include/c++/4.2.1
 Apple LLVM version 7.0.2 (clang-700.1.81)
 Target: x86_64-apple-darwin15.2.0
 Thread model: posix
 }}}

 (the default "gcc" in MacOS X El Capitain).

 The conflict here is again with a system library

 {{{
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__functional_base_03:1115:1:
 note:
       candidate function [with _Tp =
       boost::numeric::ublas::mapped_vector<double,
       boost::numeric::ublas::map_std<unsigned long, double,
       std::__1::allocator<std::__1::pair<const unsigned long, double> > >
>]
 ref(_Tp& __t)
 }}}

 The simple 8 year old patch applies flawlessly, and solves the problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1974#comment:7>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC