Re: [Boost-bugs] [Boost C++ Libraries] #12050: error C2668: 'boost::begin' : ambiguous call to overloaded function

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12050: error C2668: 'boost::begin' : ambiguous call to overloaded function
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-03-16 13:19:58


#12050: error C2668: 'boost::begin' : ambiguous call to overloaded function
-------------------------------+-------------------------
  Reporter: greatsaurav@… | Owner:
      Type: Support Requests | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.34.1 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------

Comment (by michel):

 My guess is that the problem is caused by the ambiguity between
 `boost::begin` and `std::begin`.
 If that's the case, then a solution would be
 A. Use more recent versions of Boost.
 B. Add `boost::` before `begin` (and `end`).
 C. Use compilers (stdlibs) without `std::begin`, e.g. VS 2010.

 If not, I can't be more helpful.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12050#comment:9>
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